Developer
GitHub Commits
Users commit to a Github repository to submit or save changes to a file (or set of files). Tracking commits is a good way to monitor how frequently code is changed.
GET
/v1/developer/github/commits
x-invezo-api-key*
curl --request GET \
--url https://api.invezo.com/v1/developer/github/commits \
--header 'x-invezo-api-key: <x-invezo-api-key>'
Query Parameters
symbolrequired
string
asset symbol (example: btc)
pairrequired
string
asset symbol with base currency (example: btc-usd)
minrequired
int
start of the aggregate time window as a timestamp (example: 1168300800)
maxrequired
int
end of the aggregate time window as a timestamp (example: 1652486400)
intervalrequired
string
size of the time window (valid intervals: 5m, 1h, 1d, 1w, 1mo)
sort
string
sort the results by timestamp. asc will return results in ascending order (oldest to newest), desc will return results in descending order (newest to oldest). default value is asc
limit
int
limit the number of results returned, default is 5000 and max is 50000
{
"status": "OK",
"request_id": "",
"symbol": "BTC",
"result_count": 5000,
"data": [
{
"t": 1608854400,
"v": 27073
},
{
"t": 1608940800,
"v": 27079
},
...
]
}
curl --request GET \
--url https://api.invezo.com/v1/developer/github/commits \
--header 'x-invezo-api-key: <x-invezo-api-key>'
{
"status": "OK",
"request_id": "",
"symbol": "BTC",
"result_count": 5000,
"data": [
{
"t": 1608854400,
"v": 27073
},
{
"t": 1608940800,
"v": 27079
},
...
]
}