Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.0% on proxy.golang.org
Top 2.2% dependent packages on proxy.golang.org
Top 2.3% dependent repos on proxy.golang.org
Top 6.8% forks on proxy.golang.org
Top 2.2% docker downloads on proxy.golang.org

proxy.golang.org : github.com/ido50/requests

Package requests is a high-level, API-centric HTTP client for Go projects. It is meant to provide a more comfortable mechanism to perform requests to HTTP APIs (rather than making general requests), and to prevent common mistakes made when using net/http directly. With requests, one must not need to remember to read HTTP responses in full (so Go can reuse TCP connections), nor to close response bodies. Handling of JSON data - be it in requests or responses - is made easier by way of built-in encoders/decoders. An automatic retry mechanism is also included. The library allows a "DRY" (Dont Repeat Yourself) approach to REST API usage by introducing API-specific dependencies into the client object. For example, authorization headers and response handlers can be set in the client object, and all generated requests will automatically include them.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/ido50/requests
Keywords: api, api-client, go, golang, http, https, requests, rest, rest-api, restful
License: Apache-2.0
Latest release: over 1 year ago
First release: about 4 years ago
Namespace: github.com/ido50
Dependent packages: 6
Dependent repositories: 5
Stars: 7 on GitHub
Forks: 9 on GitHub
Docker dependents: 2
Docker downloads: 24
See more repository details: repos.ecosyste.ms
Last synced: 21 days ago

    Loading...
    Readme
    Loading...