Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

OpenBikes API library

Project description

<div align="center">
<img src="misc/obpy.png" alt="obpy_logo"/>


<div align="center">
<a href="">
<img alt="Build Status" src="">
<a href="">
<img alt="Coverage Status" src="">
<a href="">
<img src="" alt="mit"/>

# `obpy`
:snake: Python SDK for OpenBikes API

## Available functions

| **Function** | **API Endpoint** | **Description** |
| `get_latest_geojson` | `GET /geojson/<string:city_slug>` | Return the latest geojson file of a city. |
| `get_countries` | `GET /countries` | Return the list of countries. |
| `get_metrics` | `GET /metrics` | Returns latest metrics. |
| `get_cities` | `GET /cities` | Return the list of cities. |
| `get_stations` | `GET /stations` | Return the list of stations. |
| `get_providers` | `GET /providers` | Return the list of providers |
| `get_updates` | `GET /updates` | Return the list of latest updates for each city. |
| `get_forecast` | `POST /forecast` | Return a forecast for a station at a given time. |
| `get_filtered_stations` | `POST /filtered_stations` | Return filtered stations. |
| `get_closest_city` | `GET /closest_city/<float:latitude>/<float:longitude>` | Return the closest city for a given latitude and longitude. |
| `get_closest_station` | `GET /closest_station/<float:latitude>/<float:longitude>` | Return the closest station for a given latitude and longitude. |

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for obpy, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size obpy-1.0.0.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page