Skip to content

cityofaustin/mds-provider-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mds-provider-client

A Python client for interacting with Mobility Data Specification (MDS) providers.

Forked from the City of Santa Monica's mds-provider toolkit.

Developed and tested with Python 3.7+.

Quick Start

>>> from datetime import datetime

>>> from mds_provider_client.client import ProviderClient

>> client = ProviderClient(
        url="https://mds.provider.com",
        token="top-secret-auth-token",
        headers={"custom-request-header" : "abc123"},
        timeout=30
    )

>>> trips = client.get_trips(
        start_time=datetime(2018, 11, 21, 16, 30),
        end_time=datetime.utcnow()
    )

About

A Python client for interacting with Mobility Data Specification (MDS) providers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%