How to use the uplink.get function in uplink

To help you get started, we’ve selected a few uplink examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github prkumar / uplink / tests / integration / test_ratelimit.py View on Github external
    @uplink.get("repos/{user}/{repo}/issues/{issue}")
    def get_issue(self, user, repo, issue):
        pass
github prkumar / uplink / tests / integration / test_returns.py View on Github external
    @uplink.get("/users/{user}")
    def get_user(self, user):
        pass
github prkumar / uplink / tests / integration / test_handlers.py View on Github external
    @uplink.get("/calendar/{todo_id}")
    def get_todo(self, todo_id):
        pass
github prkumar / uplink / tests / integration / test_returns.py View on Github external
    @uplink.get("/users/{user}/repos")
    def get_repos(self, user):
        pass
github prkumar / uplink / tests / integration / test_ratelimit.py View on Github external
    @uplink.get("users/{user}")
    def get_user(self, user):
        pass
github drobtravels / solaredge-local / solaredge_local / solaredge.py View on Github external
    @get("/web/v1/maintenance")
    def get_optimizers(self) -> Maintenance:
        pass
github prkumar / uplink / examples / marshmallow / github.py View on Github external
    @get("/repositories")
    def get_repos(self) -> RepoSchema(many=True):
        """Lists all public repositories."""
github prkumar / uplink / examples / marshmallow / github.py View on Github external
    @get("/repos/{owner}/{repo}/contributors")
    def get_contributors(self, owner, repo) -> ContributorSchema(many=True):
        """Lists contributors for the specified repository."""
github datadotworld / data.world-py / datadotworld / client / projects_api.py View on Github external
    @get("projects/{owner_id}/{project_id}")
    def get_project(self, owner_id, project_id):
        """Retrieve a project.
        The definition of the project will be returned,
        not the associated data.
        :param owner_id: User or organization ID of the owner of the dataset
        :type owner_id: str
        :param project_id: Unique identifier of dataset
        """
        pass