From 6f68c36e31dac6bb36a88c03235b0b5098a8813e Mon Sep 17 00:00:00 2001 From: Lakshay Date: Wed, 17 Feb 2021 17:12:20 -0500 Subject: [PATCH 01/10] added more configs --- etsy/_meta.json | 3 +- etsy/shipping_info.json | 71 +++++++++++++++++++++++++++++++++++++ finnhub/crypto_candle.json | 6 ++++ finnhub/crypto_symbols.json | 3 ++ guardian/_meta.json | 4 ++- guardian/article.json | 4 ++- guardian/section.json | 43 ++++++++++++++++++++++ guardian/tag.json | 53 +++++++++++++++++++++++++++ mapquest/_meta.json | 4 ++- mapquest/geocoding.json | 65 +++++++++++++++++++++++++++++++++ mapquest/search.json | 65 +++++++++++++++++++++++++++++++++ 11 files changed, 317 insertions(+), 4 deletions(-) create mode 100644 etsy/shipping_info.json create mode 100644 guardian/section.json create mode 100644 guardian/tag.json create mode 100644 mapquest/geocoding.json create mode 100644 mapquest/search.json diff --git a/etsy/_meta.json b/etsy/_meta.json index 5405e80..973abe2 100644 --- a/etsy/_meta.json +++ b/etsy/_meta.json @@ -1,6 +1,7 @@ { "tables": [ "items", - "shops" + "shops", + "shipping_info" ] } \ No newline at end of file diff --git a/etsy/shipping_info.json b/etsy/shipping_info.json new file mode 100644 index 0000000..3c95de5 --- /dev/null +++ b/etsy/shipping_info.json @@ -0,0 +1,71 @@ +{ + "version": 1, + "request": { + "url": "https://openapi.etsy.com/v2/shipping/info/:shipping_info_id", + "method": "GET", + "authorization": { + "type": "QueryParam", + "keyParam": "api_key" + }, + "params": { + "shipping_info_id": true, + "listing_id": false, + "origin_country_name": false, + "destination_country_name": false + }, + "search": { + "key": "shipping_info_id" + }, + "pagination": { + "offsetKey": "0", + "limitKey": 50, + "maxCount": 25 + } + }, + "examples": { + "shipping_info_id": "'AS7611B'" + }, + "response": { + "ctype": "application/json", + "tablePath": "$.results[*]", + "schema": { + "title": { + "target": "$.title", + "type": "string" + }, + "state": { + "target": "$.state", + "type": "string" + }, + "url": { + "target": "$.url", + "type": "string" + }, + "description": { + "target": "$.description", + "type": "string" + }, + "price": { + "target": "$.price", + "type": "string" + }, + "currency": { + "target": "$.currency_code", + "type": "string" + }, + "quantity": { + "target": "$.quantity", + "type": "int" + }, + "views": { + "target": "$.views", + "type": "int" + }, + "favorites": { + "target": "$.num_favorers", + "type": "int" + } + }, + "orient": "records" + } +} \ No newline at end of file diff --git a/finnhub/crypto_candle.json b/finnhub/crypto_candle.json index e82a86e..0a56eba 100644 --- a/finnhub/crypto_candle.json +++ b/finnhub/crypto_candle.json @@ -22,6 +22,12 @@ "to" : true } }, + "examples": { + "symbol" : "'ETHBTC'", + "resolution" : "'12'", + "from_": "'1613592066'", + "to" : "'1613692066'" + }, "response": { "ctype": "application/json", "tablePath": "$[*]", diff --git a/finnhub/crypto_symbols.json b/finnhub/crypto_symbols.json index cce2ad9..b5792b1 100644 --- a/finnhub/crypto_symbols.json +++ b/finnhub/crypto_symbols.json @@ -11,6 +11,9 @@ "exchange" : true } }, + "examples": { + "exchange": "'NASDAQ'" + }, "response": { "ctype": "application/json", "tablePath": "$[*]", diff --git a/guardian/_meta.json b/guardian/_meta.json index 71b7bf7..e5067c8 100644 --- a/guardian/_meta.json +++ b/guardian/_meta.json @@ -1,5 +1,7 @@ { "tables": [ - "article" + "article", + "tag", + "section" ] } \ No newline at end of file diff --git a/guardian/article.json b/guardian/article.json index 32874c2..2110539 100644 --- a/guardian/article.json +++ b/guardian/article.json @@ -10,7 +10,9 @@ "params": { "q": true, "page": false, - "page-size": false + "page-size": false, + "query-fields": false, + "tag": false }, "search": { "key": "q" diff --git a/guardian/section.json b/guardian/section.json new file mode 100644 index 0000000..cdf4e63 --- /dev/null +++ b/guardian/section.json @@ -0,0 +1,43 @@ +{ + "version": 1, + "request": { + "url": "https://content.guardianapis.com/sections", + "method": "GET", + "authorization": { + "type": "QueryParam", + "keyParam": "api-key" + }, + "params": { + "q": true, + "page": false, + "page-size": false, + }, + "search": { + "key": "q" + }, + "pagination": { + "type": "page", + "pageKey": "page", + "limitKey": "page-size", + "maxCount": 50 + } + }, + "examples": { + "q": "'basketball'" + }, + "response": { + "ctype": "application/json", + "tablePath": "$.response.results[*]", + "schema": { + "headline": { + "target": "$.webTitle", + "type": "string" + }, + "url": { + "target": "$.webUrl", + "type": "string" + } + }, + "orient": "records" + } +} \ No newline at end of file diff --git a/guardian/tag.json b/guardian/tag.json new file mode 100644 index 0000000..f441777 --- /dev/null +++ b/guardian/tag.json @@ -0,0 +1,53 @@ +{ + "version": 1, + "request": { + "url": "https://content.guardianapis.com/tags", + "method": "GET", + "authorization": { + "type": "QueryParam", + "keyParam": "api-key" + }, + "params": { + "q": true, + "page": false, + "page-size": false, + "section": false, + "show-references": false + }, + "search": { + "key": "q" + }, + "pagination": { + "type": "page", + "pageKey": "page", + "limitKey": "page-size", + "maxCount": 50 + } + }, + "examples": { + "q": "'basketball'" + }, + "response": { + "ctype": "application/json", + "tablePath": "$.response.results[*]", + "schema": { + "headline": { + "target": "$.webTitle", + "type": "string" + }, + "section": { + "target": "$.sectionName", + "type": "string" + }, + "url": { + "target": "$.webUrl", + "type": "string" + }, + "tag_id": { + "target": "$.id", + "type": "string" + } + }, + "orient": "records" + } +} \ No newline at end of file diff --git a/mapquest/_meta.json b/mapquest/_meta.json index 5a90875..d8328bb 100755 --- a/mapquest/_meta.json +++ b/mapquest/_meta.json @@ -1,6 +1,8 @@ { "tables": [ "place", - "route" + "route", + "geocoding", + "search" ] } \ No newline at end of file diff --git a/mapquest/geocoding.json b/mapquest/geocoding.json new file mode 100644 index 0000000..e600ad6 --- /dev/null +++ b/mapquest/geocoding.json @@ -0,0 +1,65 @@ +{ + "version": 1, + "request": { + "url": "http://www.mapquestapi.com/geocoding/v1/batch", + "method": "GET", + "authorization": { + "type": "QueryParam", + "keyParam": "key" + }, + "params": { + "location": true, + "boundingBox ": false, + "page": false, + "pageSize": false, + "thumbMaps ": false + }, + "search": { + "key": "location" + }, + "pagination": { + "type": "page", + "pageKey": "page", + "limitKey": "pageSize", + "maxCount": 50 + } + }, + "examples": { + "location": "' 41.947239,-87.655636 OR 1060 W. Addison St., Chicago, IL 60613'" + }, + "response": { + "ctype": "application/json", + "tablePath": "$.results[*]", + "schema": { + "provided_location": { + "target": "$.providedLocation.location", + "type": "string" + }, + "country": { + "target": "$.locations.adminArea1", + "type": "string" + }, + "state": { + "target": "$.locations.adminArea3", + "type": "string" + }, + "city": { + "target": "$.locations.adminArea5", + "type": "string" + }, + "address": { + "target": "$.locations.street", + "type": "string" + }, + "postalCode": { + "target": "$.locations.postalCode", + "type": "string" + }, + "coordinates": { + "target": "$.locations.latLng", + "type": "list" + } + }, + "orient": "records" + } +} \ No newline at end of file diff --git a/mapquest/search.json b/mapquest/search.json new file mode 100644 index 0000000..f8cbb12 --- /dev/null +++ b/mapquest/search.json @@ -0,0 +1,65 @@ +{ + "version": 1, + "request": { + "url": "http://www.mapquestapi.com/search/v2/radius", + "method": "GET", + "authorization": { + "type": "QueryParam", + "keyParam": "key" + }, + "params": { + "origin": true, + "radius ": false, + "page": false, + "pageSize": false, + "maxMatches ": false + }, + "search": { + "key": "origin" + }, + "pagination": { + "type": "page", + "pageKey": "page", + "limitKey": "pageSize", + "maxCount": 50 + } + }, + "examples": { + "origin": "' 41.947239,-87.655636 OR 1060 W. Addison St., Chicago, IL 60613'" + }, + "response": { + "ctype": "application/json", + "tablePath": "$.searchResults[*]", + "schema": { + "name": { + "target": "$.name", + "type": "string" + }, + "country": { + "target": "$.fields.adminArea1", + "type": "string" + }, + "state": { + "target": "$.fields.state", + "type": "string" + }, + "city": { + "target": "$.fields.city", + "type": "string" + }, + "address": { + "target": "$.address", + "type": "string" + }, + "postalCode": { + "target": "$.fields.postalCode", + "type": "string" + }, + "phone": { + "target": "$.fields.phone", + "type": "string" + } + }, + "orient": "records" + } +} \ No newline at end of file From b4d042756b97ea42872ecb34e59e0ee1c8ccf598 Mon Sep 17 00:00:00 2001 From: Lakshay Date: Wed, 17 Feb 2021 18:18:30 -0500 Subject: [PATCH 02/10] mapquest issue resolved --- guardian/_meta.json | 2 +- mapquest/_meta.json | 2 +- mapquest/geocoding.json | 18 +++++++----------- mapquest/place.json | 6 +++--- mapquest/search.json | 8 ++++---- test.ipynb | 0 6 files changed, 16 insertions(+), 20 deletions(-) create mode 100644 test.ipynb diff --git a/guardian/_meta.json b/guardian/_meta.json index e5067c8..3f1877a 100644 --- a/guardian/_meta.json +++ b/guardian/_meta.json @@ -4,4 +4,4 @@ "tag", "section" ] -} \ No newline at end of file +} diff --git a/mapquest/_meta.json b/mapquest/_meta.json index d8328bb..93df913 100755 --- a/mapquest/_meta.json +++ b/mapquest/_meta.json @@ -5,4 +5,4 @@ "geocoding", "search" ] -} \ No newline at end of file +} diff --git a/mapquest/geocoding.json b/mapquest/geocoding.json index e600ad6..ddc4fa9 100644 --- a/mapquest/geocoding.json +++ b/mapquest/geocoding.json @@ -31,35 +31,31 @@ "ctype": "application/json", "tablePath": "$.results[*]", "schema": { - "provided_location": { - "target": "$.providedLocation.location", - "type": "string" - }, "country": { - "target": "$.locations.adminArea1", + "target": "$.locations.[*].adminArea1", "type": "string" }, "state": { - "target": "$.locations.adminArea3", + "target": "$.locations.[*].adminArea3", "type": "string" }, "city": { - "target": "$.locations.adminArea5", + "target": "$.locations.[*].adminArea5", "type": "string" }, "address": { - "target": "$.locations.street", + "target": "$.locations.[*].street", "type": "string" }, "postalCode": { - "target": "$.locations.postalCode", + "target": "$.locations.[*].postalCode", "type": "string" }, "coordinates": { - "target": "$.locations.latLng", + "target": "$.locations.[*].latLng", "type": "list" } }, "orient": "records" } -} \ No newline at end of file +} diff --git a/mapquest/place.json b/mapquest/place.json index 84c0246..8c777b0 100755 --- a/mapquest/place.json +++ b/mapquest/place.json @@ -1,14 +1,14 @@ { "version": 1, "request": { - "url": "http://www.mapquestapi.com/search/v4", + "url": "http://www.mapquestapi.com/search/v4/place", "method": "GET", "authorization": { "type": "QueryParam", "keyParam": "key" }, "params": { - "q": true, + "q": false, "sort": true, "page": false, "pageSize": false, @@ -71,4 +71,4 @@ }, "orient": "records" } -} \ No newline at end of file +} diff --git a/mapquest/search.json b/mapquest/search.json index f8cbb12..0c1d402 100644 --- a/mapquest/search.json +++ b/mapquest/search.json @@ -36,7 +36,7 @@ "type": "string" }, "country": { - "target": "$.fields.adminArea1", + "target": "$.fields.country", "type": "string" }, "state": { @@ -48,11 +48,11 @@ "type": "string" }, "address": { - "target": "$.address", + "target": "$.fields.address", "type": "string" }, "postalCode": { - "target": "$.fields.postalCode", + "target": "$.fields.postal_code", "type": "string" }, "phone": { @@ -62,4 +62,4 @@ }, "orient": "records" } -} \ No newline at end of file +} diff --git a/test.ipynb b/test.ipynb new file mode 100644 index 0000000..e69de29 From 5b7e1490a84ea74ebc7a4ad8a9b7fb99a3e10af7 Mon Sep 17 00:00:00 2001 From: Lakshay-sethi <58126894+Lakshay-sethi@users.noreply.github.com> Date: Tue, 23 Feb 2021 15:54:41 -0500 Subject: [PATCH 03/10] Implemented the changes from reviews --- etsy/_meta.json | 2 +- etsy/items.json | 2 +- etsy/shipping_info.json | 71 ----------------------------------------- etsy/shops.json | 2 +- guardian/article.json | 2 +- guardian/section.json | 5 +-- guardian/tag.json | 2 +- mapquest/geocoding.json | 2 +- 8 files changed, 9 insertions(+), 79 deletions(-) delete mode 100644 etsy/shipping_info.json diff --git a/etsy/_meta.json b/etsy/_meta.json index 973abe2..6c7fa1f 100644 --- a/etsy/_meta.json +++ b/etsy/_meta.json @@ -4,4 +4,4 @@ "shops", "shipping_info" ] -} \ No newline at end of file +} diff --git a/etsy/items.json b/etsy/items.json index 0d94095..3a4fdb9 100644 --- a/etsy/items.json +++ b/etsy/items.json @@ -68,4 +68,4 @@ }, "orient": "records" } -} \ No newline at end of file +} diff --git a/etsy/shipping_info.json b/etsy/shipping_info.json deleted file mode 100644 index 3c95de5..0000000 --- a/etsy/shipping_info.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "version": 1, - "request": { - "url": "https://openapi.etsy.com/v2/shipping/info/:shipping_info_id", - "method": "GET", - "authorization": { - "type": "QueryParam", - "keyParam": "api_key" - }, - "params": { - "shipping_info_id": true, - "listing_id": false, - "origin_country_name": false, - "destination_country_name": false - }, - "search": { - "key": "shipping_info_id" - }, - "pagination": { - "offsetKey": "0", - "limitKey": 50, - "maxCount": 25 - } - }, - "examples": { - "shipping_info_id": "'AS7611B'" - }, - "response": { - "ctype": "application/json", - "tablePath": "$.results[*]", - "schema": { - "title": { - "target": "$.title", - "type": "string" - }, - "state": { - "target": "$.state", - "type": "string" - }, - "url": { - "target": "$.url", - "type": "string" - }, - "description": { - "target": "$.description", - "type": "string" - }, - "price": { - "target": "$.price", - "type": "string" - }, - "currency": { - "target": "$.currency_code", - "type": "string" - }, - "quantity": { - "target": "$.quantity", - "type": "int" - }, - "views": { - "target": "$.views", - "type": "int" - }, - "favorites": { - "target": "$.num_favorers", - "type": "int" - } - }, - "orient": "records" - } -} \ No newline at end of file diff --git a/etsy/shops.json b/etsy/shops.json index 23e0f41..77d7a0e 100644 --- a/etsy/shops.json +++ b/etsy/shops.json @@ -56,4 +56,4 @@ }, "orient": "records" } -} \ No newline at end of file +} diff --git a/guardian/article.json b/guardian/article.json index 2110539..cec90e1 100644 --- a/guardian/article.json +++ b/guardian/article.json @@ -50,4 +50,4 @@ }, "orient": "records" } -} \ No newline at end of file +} diff --git a/guardian/section.json b/guardian/section.json index cdf4e63..9f1241a 100644 --- a/guardian/section.json +++ b/guardian/section.json @@ -10,7 +10,7 @@ "params": { "q": true, "page": false, - "page-size": false, + "page-size": false }, "search": { "key": "q" @@ -40,4 +40,5 @@ }, "orient": "records" } -} \ No newline at end of file +} + diff --git a/guardian/tag.json b/guardian/tag.json index f441777..63f0037 100644 --- a/guardian/tag.json +++ b/guardian/tag.json @@ -50,4 +50,4 @@ }, "orient": "records" } -} \ No newline at end of file +} diff --git a/mapquest/geocoding.json b/mapquest/geocoding.json index ddc4fa9..48483e5 100644 --- a/mapquest/geocoding.json +++ b/mapquest/geocoding.json @@ -53,7 +53,7 @@ }, "coordinates": { "target": "$.locations.[*].latLng", - "type": "list" + "type": "string" } }, "orient": "records" From 7a0955e6fb17a1ec8ae40cbf7c3cb2a0cff23734 Mon Sep 17 00:00:00 2001 From: Lakshay-sethi <58126894+Lakshay-sethi@users.noreply.github.com> Date: Fri, 26 Feb 2021 03:24:19 -0500 Subject: [PATCH 04/10] openweather config additions --- openweathermap/_meta.json | 3 +- openweathermap/historical_weather.json | 67 ++++++++++++++++++++++++++ openweathermap/weather.json | 12 ++++- 3 files changed, 79 insertions(+), 3 deletions(-) create mode 100644 openweathermap/historical_weather.json diff --git a/openweathermap/_meta.json b/openweathermap/_meta.json index 2e77c19..48a7dab 100644 --- a/openweathermap/_meta.json +++ b/openweathermap/_meta.json @@ -1,5 +1,6 @@ { "tables": [ - "weather" + "weather", + "historical_weather" ] } \ No newline at end of file diff --git a/openweathermap/historical_weather.json b/openweathermap/historical_weather.json new file mode 100644 index 0000000..c5e2a0e --- /dev/null +++ b/openweathermap/historical_weather.json @@ -0,0 +1,67 @@ +{ + "version": 1, + "request": { + "url": "http://history.openweathermap.org/data/2.5/history/city", + "method": "GET", + "authorization": { + "type": "QueryParam", + "keyParam": "appid" + }, + "params": { + "q": false, + "lat" : false, + "lon" : false, + "id" : false, + "type" : true, + "start" : false, + "end" : false, + "cnt" : false + } + }, + "examples": { + "q": "'vancouver'", + "lat" : "'35'", + "lon" : "'139'", + "id" : "'2885679'", + "type" : "'hour'" + }, + "response": { + "ctype": "application/json", + "tablePath": "$.list.[*]", + "schema": { + "description": { + "target": "$.weather.[*].description", + "type": "string" + }, + "temp": { + "target": "$.main.temp", + "type": "float" + }, + "feels_like": { + "target": "$.main.feels_like", + "type": "float" + }, + "temp_min": { + "target": "$.main.temp_min", + "type": "float" + }, + "temp_max": { + "target": "$.main.temp_max", + "type": "float" + }, + "pressure": { + "target": "$.main.pressure", + "type": "float" + }, + "humidity": { + "target": "$.main.humidity", + "type": "float" + }, + "wind": { + "target": "$.wind.speed", + "type": "float" + } + }, + "orient": "records" + } +} diff --git a/openweathermap/weather.json b/openweathermap/weather.json index a59d4cc..6fa4ede 100644 --- a/openweathermap/weather.json +++ b/openweathermap/weather.json @@ -8,14 +8,22 @@ "keyParam": "appid" }, "params": { - "q": true, + "q": false, + "lat" : false, + "lon" : false, + "id" : false, + "zip" : false, "units" : false, "mode" : false, "lang" : false } }, "examples": { - "q": "'vancouver'" + "q": "'vancouver'", + "lat" : "'35'", + "lon" : "'139'", + "id" : "'2885679'", + "zip" : "'94040'" }, "response": { "ctype": "application/json", From 5e743d41eb6a7dcbe3aec624057163a709269c68 Mon Sep 17 00:00:00 2001 From: Lakshay-sethi <58126894+Lakshay-sethi@users.noreply.github.com> Date: Fri, 5 Mar 2021 01:01:47 -0500 Subject: [PATCH 05/10] deleted test.ipynb --- test.ipynb | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 test.ipynb diff --git a/test.ipynb b/test.ipynb deleted file mode 100644 index e69de29..0000000 From 170d665a9c4ab53629381c04ee9ebdbc1c671f5d Mon Sep 17 00:00:00 2001 From: Lakshay-sethi <58126894+Lakshay-sethi@users.noreply.github.com> Date: Wed, 7 Apr 2021 16:39:52 -0700 Subject: [PATCH 06/10] new configs for twitter --- api-connectors/twitter/followers.json | 39 +++++++++++++++++++++++++++ api-connectors/twitter/friends.json | 39 +++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 api-connectors/twitter/followers.json create mode 100644 api-connectors/twitter/friends.json diff --git a/api-connectors/twitter/followers.json b/api-connectors/twitter/followers.json new file mode 100644 index 0000000..16738ef --- /dev/null +++ b/api-connectors/twitter/followers.json @@ -0,0 +1,39 @@ +{ + "version": 1, + "request": { + "url": "https://api.twitter.com/1.1/followers/ids.json", + "method": "GET", + "authorization": { + "type": "OAuth2", + "grantType": "ClientCredentials", + "tokenServerUrl": "https://api.twitter.com/oauth2/token" + }, + "params": { + "user_id": false, + "count": false, + "screen_name": false, + "stringify_ids":false + }, + "pagination": { + "type": "offset", + "offsetKey": "offset", + "limitKey": "count", + "maxCount": 5000 + } + }, + "examples": { + "user_id": "'12345'", + "count": "'noradio'" + }, + "response": { + "ctype": "application/json", + "tablePath": "$.ids[*]", + "schema": { + "ids": { + "target": "$", + "type": "int" + } + }, + "orient": "records" + } +} \ No newline at end of file diff --git a/api-connectors/twitter/friends.json b/api-connectors/twitter/friends.json new file mode 100644 index 0000000..2a550b8 --- /dev/null +++ b/api-connectors/twitter/friends.json @@ -0,0 +1,39 @@ +{ + "version": 1, + "request": { + "url": "https://api.twitter.com/1.1/friends/ids.json", + "method": "GET", + "authorization": { + "type": "OAuth2", + "grantType": "ClientCredentials", + "tokenServerUrl": "https://api.twitter.com/oauth2/token" + }, + "params": { + "user_id": false, + "count": false, + "screen_name": false, + "stringify_ids":false + }, + "pagination": { + "type": "offset", + "offsetKey": "offset", + "limitKey": "count", + "maxCount": 5000 + } + }, + "examples": { + "user_id": "'12345'", + "count": "'noradio'" + }, + "response": { + "ctype": "application/json", + "tablePath": "$.ids[*]", + "schema": { + "ids": { + "target": "$", + "type": "int" + } + }, + "orient": "records" + } +} \ No newline at end of file From 9b815f13759337bce6d25d217398a28d2d0d52bc Mon Sep 17 00:00:00 2001 From: Lakshay-sethi <58126894+Lakshay-sethi@users.noreply.github.com> Date: Wed, 7 Apr 2021 16:40:55 -0700 Subject: [PATCH 07/10] minor mistake fixed --- api-connectors/twitter/followers.json | 2 +- api-connectors/twitter/friends.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api-connectors/twitter/followers.json b/api-connectors/twitter/followers.json index 16738ef..be581d9 100644 --- a/api-connectors/twitter/followers.json +++ b/api-connectors/twitter/followers.json @@ -36,4 +36,4 @@ }, "orient": "records" } -} \ No newline at end of file +} diff --git a/api-connectors/twitter/friends.json b/api-connectors/twitter/friends.json index 2a550b8..ff51dff 100644 --- a/api-connectors/twitter/friends.json +++ b/api-connectors/twitter/friends.json @@ -36,4 +36,4 @@ }, "orient": "records" } -} \ No newline at end of file +} From 6813f4ed9858c2c782fbe7c47172790b5e61bf9a Mon Sep 17 00:00:00 2001 From: Lakshay-sethi <58126894+Lakshay-sethi@users.noreply.github.com> Date: Wed, 7 Apr 2021 20:22:06 -0700 Subject: [PATCH 08/10] updated meta folder --- api-connectors/twitter/_meta.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api-connectors/twitter/_meta.json b/api-connectors/twitter/_meta.json index 7f98a77..61c0f25 100644 --- a/api-connectors/twitter/_meta.json +++ b/api-connectors/twitter/_meta.json @@ -1,5 +1,7 @@ { "tables": [ - "tweets" + "tweets", + "followers", + "friends" ] } \ No newline at end of file From caa417e242c1053fd80548b1fa162fd258b9af4c Mon Sep 17 00:00:00 2001 From: Lakshay-sethi <58126894+Lakshay-sethi@users.noreply.github.com> Date: Fri, 9 Apr 2021 12:50:16 -0700 Subject: [PATCH 09/10] Covid Tracking Api --- api-connectors/CovidTracking/_meta.json | 7 +++++ api-connectors/CovidTracking/all_states.json | 26 +++++++++++++++++++ api-connectors/CovidTracking/national.json | 26 +++++++++++++++++++ .../CovidTracking/national_daily.json | 26 +++++++++++++++++++ .../CovidTracking/state_historical.json | 26 +++++++++++++++++++ api-connectors/CovidTracking/states.json | 26 +++++++++++++++++++ .../CovidTracking/states_daily.json | 26 +++++++++++++++++++ 7 files changed, 163 insertions(+) create mode 100644 api-connectors/CovidTracking/_meta.json create mode 100644 api-connectors/CovidTracking/all_states.json create mode 100644 api-connectors/CovidTracking/national.json create mode 100644 api-connectors/CovidTracking/national_daily.json create mode 100644 api-connectors/CovidTracking/state_historical.json create mode 100644 api-connectors/CovidTracking/states.json create mode 100644 api-connectors/CovidTracking/states_daily.json diff --git a/api-connectors/CovidTracking/_meta.json b/api-connectors/CovidTracking/_meta.json new file mode 100644 index 0000000..6b95d03 --- /dev/null +++ b/api-connectors/CovidTracking/_meta.json @@ -0,0 +1,7 @@ +{ + "tables": [ + "places", + "daily" + + ] +} \ No newline at end of file diff --git a/api-connectors/CovidTracking/all_states.json b/api-connectors/CovidTracking/all_states.json new file mode 100644 index 0000000..9226209 --- /dev/null +++ b/api-connectors/CovidTracking/all_states.json @@ -0,0 +1,26 @@ +{ + "version": 1, + "request": { + "url": "http://api.covidtracking.com/v2/states.json", + "method": "GET", + "params": {}, + "urlParse": { + "parse":false + } + }, + "response": { + "ctype": "application/json", + "tablePath": "$.[*]", + "schema": { + "headline": { + "target": "$.links.self", + "type": "string" + }, + "url": { + "target": "$.meta.build_time", + "type": "string" + } + }, + "orient": "records" + } +} \ No newline at end of file diff --git a/api-connectors/CovidTracking/national.json b/api-connectors/CovidTracking/national.json new file mode 100644 index 0000000..5a1badc --- /dev/null +++ b/api-connectors/CovidTracking/national.json @@ -0,0 +1,26 @@ +{ + "version": 1, + "request": { + "url": "http://api.covidtracking.com/v2/us/daily.json", + "method": "GET", + "params": {}, + "urlParse": { + "parse":false + } + }, + "response": { + "ctype": "application/json", + "tablePath": "$.[*]", + "schema": { + "headline": { + "target": "$.links.self", + "type": "string" + }, + "url": { + "target": "$.meta.build_time", + "type": "string" + } + }, + "orient": "records" + } +} \ No newline at end of file diff --git a/api-connectors/CovidTracking/national_daily.json b/api-connectors/CovidTracking/national_daily.json new file mode 100644 index 0000000..6972efb --- /dev/null +++ b/api-connectors/CovidTracking/national_daily.json @@ -0,0 +1,26 @@ +{ + "version": 1, + "request": { + "url": "http://api.covidtracking.com/v2/us/daily/{date}.json", + "method": "GET", + "params": {}, + "urlParse": { + "parse":false + } + }, + "response": { + "ctype": "application/json", + "tablePath": "$.[*]", + "schema": { + "headline": { + "target": "$.links.self", + "type": "string" + }, + "url": { + "target": "$.meta.build_time", + "type": "string" + } + }, + "orient": "records" + } +} \ No newline at end of file diff --git a/api-connectors/CovidTracking/state_historical.json b/api-connectors/CovidTracking/state_historical.json new file mode 100644 index 0000000..c3d06b9 --- /dev/null +++ b/api-connectors/CovidTracking/state_historical.json @@ -0,0 +1,26 @@ +{ + "version": 1, + "request": { + "url": "https://api.covidtracking.com/v2/states/{state}/daily.json", + "method": "GET", + "params": {}, + "urlParse": { + "parse":false + } + }, + "response": { + "ctype": "application/json", + "tablePath": "$.[*]", + "schema": { + "headline": { + "target": "$.links.self", + "type": "string" + }, + "url": { + "target": "$.meta.build_time", + "type": "string" + } + }, + "orient": "records" + } +} \ No newline at end of file diff --git a/api-connectors/CovidTracking/states.json b/api-connectors/CovidTracking/states.json new file mode 100644 index 0000000..827624d --- /dev/null +++ b/api-connectors/CovidTracking/states.json @@ -0,0 +1,26 @@ +{ + "version": 1, + "request": { + "url": "https://api.covidtracking.com/v2/states/{state}.json", + "method": "GET", + "params": {}, + "urlParse": { + "parse":false + } + }, + "response": { + "ctype": "application/json", + "tablePath": "$.[*]", + "schema": { + "headline": { + "target": "$.links.self", + "type": "string" + }, + "url": { + "target": "$.meta.build_time", + "type": "string" + } + }, + "orient": "records" + } +} \ No newline at end of file diff --git a/api-connectors/CovidTracking/states_daily.json b/api-connectors/CovidTracking/states_daily.json new file mode 100644 index 0000000..192f0f6 --- /dev/null +++ b/api-connectors/CovidTracking/states_daily.json @@ -0,0 +1,26 @@ +{ + "version": 1, + "request": { + "url": "https://api.covidtracking.com/v2/states/{state}/{date}.json", + "method": "GET", + "params": {}, + "urlParse": { + "parse":false + } + }, + "response": { + "ctype": "application/json", + "tablePath": "$.[*]", + "schema": { + "headline": { + "target": "$.links.self", + "type": "string" + }, + "url": { + "target": "$.meta.build_time", + "type": "string" + } + }, + "orient": "records" + } +} \ No newline at end of file From 9a71f6f7263249a6a3709bc99681bccb5a812a55 Mon Sep 17 00:00:00 2001 From: Lakshay-sethi <58126894+Lakshay-sethi@users.noreply.github.com> Date: Tue, 20 Apr 2021 01:01:03 -0700 Subject: [PATCH 10/10] corrections --- api-connectors/CovidTracking/all_states.json | 6 ++---- api-connectors/CovidTracking/national.json | 5 +---- api-connectors/CovidTracking/national_daily.json | 6 ++---- api-connectors/CovidTracking/state_historical.json | 8 +++----- api-connectors/CovidTracking/states.json | 6 ++---- api-connectors/CovidTracking/states_daily.json | 6 ++---- 6 files changed, 12 insertions(+), 25 deletions(-) diff --git a/api-connectors/CovidTracking/all_states.json b/api-connectors/CovidTracking/all_states.json index 9226209..3e77c69 100644 --- a/api-connectors/CovidTracking/all_states.json +++ b/api-connectors/CovidTracking/all_states.json @@ -3,10 +3,8 @@ "request": { "url": "http://api.covidtracking.com/v2/states.json", "method": "GET", - "params": {}, - "urlParse": { - "parse":false - } + "params": {} + }, "response": { "ctype": "application/json", diff --git a/api-connectors/CovidTracking/national.json b/api-connectors/CovidTracking/national.json index 5a1badc..f62e72d 100644 --- a/api-connectors/CovidTracking/national.json +++ b/api-connectors/CovidTracking/national.json @@ -3,10 +3,7 @@ "request": { "url": "http://api.covidtracking.com/v2/us/daily.json", "method": "GET", - "params": {}, - "urlParse": { - "parse":false - } + "params": {} }, "response": { "ctype": "application/json", diff --git a/api-connectors/CovidTracking/national_daily.json b/api-connectors/CovidTracking/national_daily.json index 6972efb..9cde93a 100644 --- a/api-connectors/CovidTracking/national_daily.json +++ b/api-connectors/CovidTracking/national_daily.json @@ -3,10 +3,8 @@ "request": { "url": "http://api.covidtracking.com/v2/us/daily/{date}.json", "method": "GET", - "params": {}, - "urlParse": { - "parse":false - } + "params": {} + }, "response": { "ctype": "application/json", diff --git a/api-connectors/CovidTracking/state_historical.json b/api-connectors/CovidTracking/state_historical.json index c3d06b9..097668c 100644 --- a/api-connectors/CovidTracking/state_historical.json +++ b/api-connectors/CovidTracking/state_historical.json @@ -1,12 +1,10 @@ { "version": 1, "request": { - "url": "https://api.covidtracking.com/v2/states/{state}/daily.json", + "url": "http://api.covidtracking.com/v2/states/{state}/daily.json", "method": "GET", - "params": {}, - "urlParse": { - "parse":false - } + "params": {} + }, "response": { "ctype": "application/json", diff --git a/api-connectors/CovidTracking/states.json b/api-connectors/CovidTracking/states.json index 827624d..56618ee 100644 --- a/api-connectors/CovidTracking/states.json +++ b/api-connectors/CovidTracking/states.json @@ -3,10 +3,8 @@ "request": { "url": "https://api.covidtracking.com/v2/states/{state}.json", "method": "GET", - "params": {}, - "urlParse": { - "parse":false - } + "params": {} + }, "response": { "ctype": "application/json", diff --git a/api-connectors/CovidTracking/states_daily.json b/api-connectors/CovidTracking/states_daily.json index 192f0f6..5a4f289 100644 --- a/api-connectors/CovidTracking/states_daily.json +++ b/api-connectors/CovidTracking/states_daily.json @@ -3,10 +3,8 @@ "request": { "url": "https://api.covidtracking.com/v2/states/{state}/{date}.json", "method": "GET", - "params": {}, - "urlParse": { - "parse":false - } + "params": {} + }, "response": { "ctype": "application/json",