Skip to content

Frankkkkk/python-elevationapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-elevationapi — Get the elevation of (almost) any point on Earth

elevationapi is a simple library that interfaces with http://www.elevationapi.xyz . It permits you to get the elevation of almost any point on Earth.

Example

from elevationapi import Elevation
e = Elevation()

elevation_of_Geneva = e.getElevation(46.2, 6.15)

#When asking for multiple points, use this instead:
elevations = e.getElevations((46.2, 6.15), (6.3, 6.20))

Using another API provider

Simply instance Elevation with:

e = Elevation(base_url='http://your-server.tld/api')

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages