0 purchases
university locations
university_locations #
A new Flutter plugin for Universities, their locations, and url domains in the United States
Getting Started #
This project is a simple list of 900 universities with their url domains and locations in the US which includes utility functions to calculate distance and find your nearest university.
Universities are stored in UniList.dart and follows the form:
universities[University Name] = {"lon":"0.0", "lat":"0.0"}
copied to clipboard
You can find the nearest university using:
UniversityLocations().findNearestUniversity(double latitude, double longitude)
copied to clipboard
You can figure out if an email is within a domain:
UniversityLocations().isUniEmail('[email protected]')
copied to clipboard
and you can get the university name from an email using:
getUniFromEmail(String email)
copied to clipboard
within lib in the github you can also find the raw json file
Special thanks to Open Street Maps contributors for providing this dataset
NOTE: values are stored as strings
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.