Metadata-Version: 2.1
Name: py_nextbusnext
Version: 1.0.0
Summary: Minimalistic Python client for the NextBus public API for real-time transit arrival data
Home-page: https://github.com/vividboarder/py_nextbus
Author: ViViDboarder
Classifier: Programming Language :: Python :: 3.8 
Classifier: Programming Language :: Python :: 3.9 
Classifier: Programming Language :: Python :: 3.10 
Classifier: Programming Language :: Python :: 3.11 
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# py_nextbusnext

## This is forked from py_nextbus for maintanence
_It is API compatible to the upstream_

A minimalistic Python 3 client to simplify making requests to the NextBus API. Response content can be returned as either JSON or XML, using the respective NextBus public feed.

All commands in the NextBus API as of revision 1.23 are supported.

See the NextBus XML feed documentation for more information: https://retro.umoiq.com/xmlFeedDocs/NextBusXMLFeed.pdf

Note: Other than the output format, the NextBus XML feed and JSON feeds are the same. The XML feed documentation also applies to the JSON feed.

Installation
---

Install with pip:

`pip install py-nextbusnext`

Usage
---

```
>>> import py_nextbus
>>> client = py_nextbus.NextBusClient(output_format='json')
>>> agencies = client.get_agency_list()
```
