octokit routes from npm published to pypi
This is meant to be used by other python clients. One such client is octokitpy
pip install octokitpy-routes
Each specification is loaded and available as a single JSON loaded Python object.
specifications
is a dictionary keyed by each api set in octokit/routes. The value of each key is the loaded JSON of the respective index.json
.
from octokit_routes import specifications
public_route_data = specifications['api.github.com']
github_enterprise_route_data = specifications['ghe-2.15']
from octokit_routes import webhook_names
python 3.5+ for the use of scandir
Load JSON files with UTF-8 encoding for Windows
No actual changes - update deploy script
Changes the webhook npm package
Version 27 of octokit/routes. See the release notes for breaking changes
Version 26 of octokit/routes. See the release notes for breaking changes
Change python installed location from routes
to octokit_routes
so as not to conflict with other packages
Version 24 of octokit/routes. See the release notes for breaking changes
Version 20 of octokit/routes. See the release notes for breaking changes
This changes the version of the routes from 16 to 19; several major versions. There are some breaking changes.
Of note, a change to v19 includes,
Note that this version introduced the deprecation of parameters.
number was deprecated in favor of issue_number, milestone_number, pull_number
external_identity_guid was deprecated in favor of scim_user_id
Ideally the library would still accept the deprecated parameters but log a deprecation message. All deprecations have a timestamp, so if you release a breaking version in future, you can bump this timestamp and ignore all deprecations older than that