Skip to content

Instantly share code, notes, and snippets.

127-0-0-1

Block or report user

Report or block 127-0-0-1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@127-0-0-1
127-0-0-1 / declarations_api.py
Created Jul 20, 2016 — forked from dchaplinsky/declarations_api.py
Simple example of how to export all assets declarations from declarations.com.ua website.
View declarations_api.py
import requests
import json
from time import sleep
data = []
print("Fetching page #%s" % 1)
r = requests.get("http://declarations.com.ua/search?format=json").json()
data += r["results"]["object_list"]
You can’t perform that action at this time.