Skip to main content

A cozzy('hygge') way to get json response back asynchronously

Project description

Hygge (‘Cozzy’) Response

“A cozzy(‘hygge’) way to get json response back asynchronously”


It should be easy to return json response asynchronously. hygge aim to be a fuzzy-less way to do just that. Just pass a url and ‘get’ arguments such as params, headers, and receive back a json response.

website: hygge.

# install hygge
pip install hygge

How to use

from hygge.get import GetResponse

url = ''
params = {'country': 'dk', 'query': ''}

# passing url and parameters
res = GetResponse(url).get(params=params)

# passing only url
info_url = f'{res["businessUnits"][0]["id"]}/companyinfobox'

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hygge, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size hygge-0.1.3-py3-none-any.whl (2.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size hygge-0.1.3.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page