Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Td Ameritrade Python Api | 626 | 3 | a year ago | 15 | March 18, 2021 | 42 | mit | Python | ||
Unofficial Python API client library for TD Ameritrade. This library allows for easy access of the Standard API and allows users to build data pipelines for the Streaming API. | ||||||||||
Graphql.js | 425 | 483 | 126 | 3 days ago | 43 | October 19, 2022 | 13 | mit | TypeScript | |
GitHub GraphQL API client for browsers and Node | ||||||||||
Twitch4j | 351 | 4 | 8 days ago | 18 | September 18, 2022 | 13 | mit | Java | ||
Modular Async/Sync/Reactive Twitch API Client / IRC Client | ||||||||||
Presto Python Client | 224 | 2 | 24 | 19 days ago | 13 | August 05, 2021 | 44 | apache-2.0 | Python | |
Python DB-API client for Presto | ||||||||||
Http Request Action | 206 | 14 days ago | 1 | mit | JavaScript | |||||
Create HTTP Requests in GitHub Actions | ||||||||||
Authy Python | 190 | 31 | a year ago | 19 | April 15, 2020 | mit | Python | |||
Authy API Client for Python | ||||||||||
Golang Jenkins | 113 | 2 | 1 | 3 years ago | June 05, 2021 | 10 | mit | Go | ||
API client of Jenkins API written in Go | ||||||||||
Pixiv Api Client | 112 | 7 | 7 | 3 years ago | 29 | February 11, 2021 | 5 | mit | JavaScript | |
Promise based Pixiv API client for node.js and react native | ||||||||||
Strava | 108 | 9 | 3 years ago | 13 | September 23, 2019 | 8 | mit | PHP | ||
PHP Class for the Strava API (v3) | ||||||||||
Httpie Oauth | 88 | 2 years ago | 3 | September 24, 2013 | 5 | other | Python | |||
OAuth plugin for HTTPie |
A Go interface around api.hackerone.com.
import "github.com/uber-go/hackeroni/h1"
To list all reports matching a filter:
reports, _, err := client.Report.List(h1.ReportListFilter{
Program: []string{"uber"},
})
if err != nil {
panic(err)
}
for _, report := range reports {
fmt.Println("Report Title:", *report.Title)
}
To retrieve a specific report:
report, _, err := client.Report.Get("123456")
if err != nil {
panic(err)
}
fmt.Println("Report Title:", *report.Title)
The h1
library does not directly handle authentication. Instead, when creating a new client, you can pass a http.Client
that handles authentication for you. It does provide a APIAuthTransport
structure when using API Token authentication. It is used like this:
tp := h1.APIAuthTransport{
APIIdentifier: "your-h1-api-token-identifier",
APIToken: "big-long-api-token-from-h1",
}
client := h1.NewClient(tp.Client())
All requests for listing resources such as Report
support pagination. Pagination options are described in the h1.ListOptions
struct and passed to the list methods as an optional parameter. Pages information is available via the h1.ResponseLinks
struct embedded in the h1.Response struct.
filter := h1.ReportListFilter{
Program: []string{"uber"},
}
var listOpts h1.ListOptions
var allReports []h1.Report
for {
reports, resp, err := client.Report.List(filter, &listOpts)
if err != nil {
panic(err)
}
allReports = append(allReports, reports...)
if resp.Links.Next == "" {
break
}
listOpts.Page = resp.Links.NextPageNumber()
}