column-st / instahashtag Goto Github PK
View Code? Open in Web Editor NEW๐ธ Unofficial Python API wrapper for DisplayPurposes.
Home Page: https://column-st.github.io/InstaHashtag/
License: MIT License
๐ธ Unofficial Python API wrapper for DisplayPurposes.
Home Page: https://column-st.github.io/InstaHashtag/
License: MIT License
Hello!
Is this repo's code still up to date with the API or do I miss some package? I get an error but I am not sure what's going on.
I'm getting the error below, when testing with an example from your docs. My example code is this:
from instahashtag import api
def io():
"""Uses 'requests' to send requests."""
tag = api.tag(hashtag="instagram")
graph = api.tag(hashtag="instagram")
maps = api.maps(
x1=-80.48712034709753,
y1=25.750749758162012,
x2=-79.82794065959753,
y2=25.854604964203453,
zoom=12,
)
io()
The error is the following:
Traceback (most recent call last):
File "/Users/michael.Steudter/Documents/pythonExperiments/displaypurposes/test.py", line 16, in <module>
io()
File "/Users/michael.Steudter/Documents/pythonExperiments/displaypurposes/test.py", line 6, in io
tag = api.tag(hashtag="instagram")
File "/Users/michael.Steudter/Documents/pythonExperiments/displaypurposes/venv/lib/python3.9/site-packages/instahashtag/api.py", line 43, in tag
return http.Requests.tag(hashtag=hashtag)
File "/Users/michael.Steudter/Documents/pythonExperiments/displaypurposes/venv/lib/python3.9/site-packages/instahashtag/http.py", line 103, in tag
return obj.call()
File "/Users/michael.Steudter/Documents/pythonExperiments/displaypurposes/venv/lib/python3.9/site-packages/instahashtag/http.py", line 133, in call
return self.process(resp)
File "/Users/michael.Steudter/Documents/pythonExperiments/displaypurposes/venv/lib/python3.9/site-packages/instahashtag/http.py", line 93, in process
return json.loads(resp)
File "/Applications/Xcode_14_1.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/Applications/Xcode_14_1.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Applications/Xcode_14_1.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.