YUniversity
List of Worldwide universities. Data source: webometrics.info
Installation
Add this line to your application's Gemfile:
gem 'yuniversity'
And then execute:
$ bundle
Or install it yourself as:
$ gem install yuniversity
Usage
YUniversity::ALL
YUniversity::COUNTRIES
YUniversity::COUNTRY_NAMES
YUniversity::NAMES
YUniversity::RAW - for raw data
YUniversity.find_by_country('philippines') - this will return all the schools from philippines.
YUniversity.find_by_countries(['philippines', 'japan', 'korea']) - this will return all the schools from japan and korea
YUniversity.find_country_by_university('New York University Tirana') - this will return the country for New York University Tirana
Contributing
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
License
The gem is available as open source under the terms of the MIT License.