From 2b4ae1c7afefb2e81a791c000565b107ca215954 Mon Sep 17 00:00:00 2001 From: knadt Date: Mon, 16 Nov 2020 10:22:15 +0000 Subject: [PATCH 1/4] Update README.md Added Iterable API https://api.iterable.com/api/docs#export_exportDataJson --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4100fad..81e63bc 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,9 @@ KeyHacks shows ways in which particular API keys found on a Bug Bounty Program c - [Instagram Basic Display API](#Instagram-Basic-Display-API-Access-Token) - [Instagram Graph API](#Instagram-Graph-Api-Access-Token) - [Ipstack API Key](#Ipstack-API-Key) -- [JumpCloud API key](#JumpCloud-API-Key) -- [Keen.io API key](#Keenio-API-Key) +- [Iterable API Key](#Iterable-API-Key) +- [JumpCloud API Key](#JumpCloud-API-Key) +- [Keen.io API Key](#Keenio-API-Key) - [Loqate API Key](#Loqate-API-key) - [MailChimp API Key](#MailChimp-API-Key) - [MailGun Private Key](#MailGun-Private-Key) @@ -669,6 +670,12 @@ Fetch content details for a YouTube channel (The channelId in this case points t curl -iLk 'https://www.googleapis.com/youtube/v3/activities?part=contentDetails&maxResults=25&channelId=UC-lHJZR3Gqxm24_Vd_AJ5Yw&key={KEY_HERE}' ``` +## [Iterable API Key](https://api.iterable.com/api/docs) +Export campaign analytics data in JSON format, one entry per line. Use of either 'range' or 'startDateTime' and 'endDateTime' is required. +``` +curl -H "Api_Key: {API_KEY}" https://api.iterable.com/api/export/data.json?dataTypeName=emailSend&range=Today&onlyFields=List.empty +``` + # Contributing I welcome contributions from the public. From 615b7bc338937ad0a052327838c3c64c9d1ce4b3 Mon Sep 17 00:00:00 2001 From: knadt Date: Mon, 16 Nov 2020 10:39:00 +0000 Subject: [PATCH 2/4] Update README.md added AMPLITUDE API Key for fix # https://github.com/streaak/keyhacks/issues/85 --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 81e63bc..0b767bb 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,8 @@ KeyHacks shows ways in which particular API keys found on a Bug Bounty Program c # Table of Contents -- [Algolia API key](#Algolia-API-key) +- [Algolia API Key](#Algolia-API-key) +- [Amplitude API Keys](#Amplitude-API-Keys) - [Asana Access token](#Asana-Access-Token) - [AWS Access Key ID and Secret](#AWS-Access-Key-ID-and-Secret) - [Azure Application Insights APP ID and API Key](#Azure-Application-Insights-APP-ID-and-API-Key) @@ -672,9 +673,17 @@ curl -iLk 'https://www.googleapis.com/youtube/v3/activities?part=contentDetails& ## [Iterable API Key](https://api.iterable.com/api/docs) Export campaign analytics data in JSON format, one entry per line. Use of either 'range' or 'startDateTime' and 'endDateTime' is required. + ``` curl -H "Api_Key: {API_KEY}" https://api.iterable.com/api/export/data.json?dataTypeName=emailSend&range=Today&onlyFields=List.empty ``` +## [Amplitude API Keys](https://help.amplitude.com/hc/en-us/articles/205406637-Export-API-Export-Your-Project-s-Event-Data) +The response is a zipped archive of JSON files, with potentially multiple files per hour. Note that events prior to 2014-11-12 will be grouped by day instead of by the hour. If you request data for a time range during which no data has been collected for the project, then you will receive a 404 response from the server. + +``` +curl -u API_Key:Secret_Key 'https://amplitude.com/api/2/export?start=20200201T5&end=20210203T20' >> yourfilename.zip +``` + # Contributing From 9bf83009fdeae329394370522503b56d9c504a8b Mon Sep 17 00:00:00 2001 From: knadt Date: Mon, 16 Nov 2020 10:57:37 +0000 Subject: [PATCH 3/4] Update README.md issue # https://github.com/streaak/keyhacks/issues/77 --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 0b767bb..5928a2e 100644 --- a/README.md +++ b/README.md @@ -266,9 +266,23 @@ This requires the API key in 'user@yourcompany.com', pass in 'test' and 'domain. ``` ## [JumpCloud API Key](https://docs.jumpcloud.com/1.0/authentication-and-authorization/authentication-and-authorization-overview) + +#### [v1](https://docs.jumpcloud.com/1.0/systemusers) ``` List systems: curl -H "x-api-key: APIKEYHERE" "https://console.jumpcloud.com/api/systems" +curl -H "x-api-key: APIKEYHERE" "https://console.jumpcloud.com/api/systemusers" +curl -H "x-api-key: APIKEYHERE" "https://console.jumpcloud.com/api/applications" +``` + +#### [v]2(https://docs.jumpcloud.com/2.0/systems/list-the-associations-of-a-system) + +``` +List systems: +curl -X GET https://console.jumpcloud.com/api/v2/systems/{System_ID}/memberof \ + -H 'Accept: application/json' \ + -H 'Content-Type: application/json' \ + -H 'x-api-key: {API_KEY}' ``` ## Microsoft Azure Tenant From 8d6fa7294de89bf8040f3a07b9f120fc7000355c Mon Sep 17 00:00:00 2001 From: knadt Date: Mon, 16 Nov 2020 17:17:28 +0000 Subject: [PATCH 4/4] Update README.md fixed square bracket --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5928a2e..1adf57c 100644 --- a/README.md +++ b/README.md @@ -275,7 +275,7 @@ curl -H "x-api-key: APIKEYHERE" "https://console.jumpcloud.com/api/systemusers" curl -H "x-api-key: APIKEYHERE" "https://console.jumpcloud.com/api/applications" ``` -#### [v]2(https://docs.jumpcloud.com/2.0/systems/list-the-associations-of-a-system) +#### [v2](https://docs.jumpcloud.com/2.0/systems/list-the-associations-of-a-system) ``` List systems: