0

I am new to APIs and am having problems in accessing data from catalog.data.gov. I have successfully used the below code to search my dataset of interest, but can't figure out how I can fetch the data for the collection "Monthly Traffic Volume Trends". I am interested in getting all the 154 datasets in this collection. Please guide me through this

import urllib3
from urllib.parse import quote
import json
import pprint

# Make the HTTP request.
http = urllib3.PoolManager()
response = http.request('GET','http://catalog.data.gov/api/3/search/dataset?q="monthly_traffic_volume_trends_may_2002"&rows=10')
# Use the json module to load CKAN's response into a dictionary.
response_dict = json.loads(response.data)
# Check the contents of the response.
result = response_dict['results']
pprint.pprint(result)
0

ประวัติการเข้าบัญชี

@VipadaSangkaew9

หากคุณพบความเคลื่อนไหวที่น่าสงสัยใดๆ จากแอพ ให้ไปที่ หน้าแอพ เพื่อยกเลิกการเข้าถึงของแอพดังกล่าว ในบางกรณี ตำแหน่ง IP อาจไม่ตรงกับตำแหน่งจริงของคุณ เรียนรู้เพิ่มเติม

Golden HoYeah Slots

21 ต.ค. 2019 06:59:32

52.220.221.113 (Singapore)

Golden HoYeah Slots

21 ต.ค. 2019 06:58:10

18.138.149.34 (United States)

Golden HoYeah Slots

21 ต.ค. 2019 06:58:09

1.46.110.170 (Thailand)

Golden HoYeah Slots

21 ต.ค. 2019 05:12:57

52.74.67.149 (Singapore)

Golden HoYeah Slots

19 ต.ค. 2019 08:02:17

1.46.233.46 (Thailand)

Golden HoYeah Slots

19 ต.ค. 2019 06:16:19

52.74.80.63 (Singapore)

Golden HoYeah Slots

19 ต.ค. 2019 05:41:20

52.76.115.0 (Singapore)

Golden HoYeah Slots

19 ต.ค. 2019 05:41:19

183.88.210.32 (Thailand)

Auth Opera

14 ต.ค. 2019 09:19:08

107.167.110.12 (United States)

Golden HoYeah Slots

9 ต.ค. 2019 14:20:39

52.74.210.85 (Singapore)

Golden HoYeah Slots

9 ต.ค. 2019 14:08:48

52.74.209.106 (Singapore)

Golden HoYeah Slots

9 ต.ค. 2019 14:08:48

1.46.106.147 (Thailand)"Samsung Account" https://account.samsung.com/accounts/v1/CyberService/signInGate?response_type=code&client_id=661924lxg8&locale=th_TH&countryCode=TH&redirect_uri=https%3A%2F%2Fwww.samsung.com%2Fth%2Fsupport%2Fyour-service%2FidenCallback&state=34625a79f9ab485888fccdc62d575e13&goBackURL=https%3A%2F%2Fwww.samsung.com%2Fth%2Fsupport%2Fyour-service%2FidenCallback&scope=IAMGCSaeucentral1_1571746540764_99999-9836725181.999

@VipadaSangkaew9 • ID:1088664716682059776• 25 ม.ค.2019 12:07:49• 223.24.156.90(Thailand)

23 ก.ย. 2019 06:00:17 1.46.139.160(Thailand)

06:34:06 (1.46.46.90)

06:42:05 (1.46.107.1)

07:08:02 (1.46.7517)

08:37:57 (1.46.9.3)

09:10:06 (1.47.100.245)

11:55:05 (1.47.107.82)

12:40:08 (1.47.233.138)

13:53:40 (1.47.77.138)

14:30:14 (1.46.38.212)

18:16:35 (1.46.72.78)

19:18:02 (1.47.207.220)

19:26:51 (1.47.38.63)

24 ก.ย. 2019 00:59:37(202.176.124.254)

02:54:05 (223.24.154.176)

Vox Media 29 ก.ย.2019 22.49.08(18.208.9.254)U.S.

Auth Opera 2 ต.ค.2019 11:35:34(107.167.110.12)U.S.

Golden HoYeah Slots 9 ต.ค.2019 14:08:48(1.46.106.147,52.74.209.106)

14:20:39(52.74.210.85) -https://www.google.com/search?q=cars - Microsoft; Windows NT 5.1 - 740674ce2123e969

Correlation ID: 16db0c9f-b033-0000-4762-2e25658d915f

Date and Time: 10/11/2019 8:51:28 AM

URL:https://comscore.sharepoint.com/sites/ITDataGovernance/DSRs/Documents/1568878580463094

User: vipadasangkaew@outlook.co.th

  • can you provide more information regarding what your answer is/does? – albert Oct 28 at 2:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.