MCPcopy Create free account
hub / github.com/and3rson/nineapi / _request

Method _request

nineapi/client.py:55–112  ·  view source on GitHub ↗

Perform API request. :param method: HTTP method ('GET', 'POST' etc.) :param path: URL to retrieve (e.g. '/v2/post-list') :param service: :class:`.Client.Services` field, default is `API` :param sign: Whether to sign the request or no. :param args: UR

(self, method, path, service=Services.API,
                 sign=True, params={}, args={}, body={})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

log_inMethod · 0.95
get_postsMethod · 0.95
search_posts_by_tagMethod · 0.95
get_top_commentsMethod · 0.80

Calls 2

_validate_responseMethod · 0.95
postMethod · 0.80

Tested by

no test coverage detected