sameerkumar18 / aztro Goto Github PK
View Code? Open in Web Editor NEWThe Astrology API ๐ซ Get daily horoscope!
Home Page: https://aztro.sameerkumar.website
License: Apache License 2.0
The Astrology API ๐ซ Get daily horoscope!
Home Page: https://aztro.sameerkumar.website
License: Apache License 2.0
Hey Sameer.
Great work. I would like to use this. Can you help me converting this into a webhook?
Regards,
Krishna
Getting this error again and again
Exact error : "message": "'NoneType' object has no attribute 'text'"
Status : 400
Could you please tell me how to resolve or what is the issue
Pasting this in a browser is no longer working.
https://aztro.sameerkumar.website/?sign=aries&day=today
The timezone of the source for the info on the server side is set to "America/New_York, GMT-0400".
It would be great if we could have one parameter for the timezone as there are many users of this API from various parts of the globe.
Example -
POST: https://aztro.herokuapp.com?sign= <sign> &day= <day> &tz= <GMT_Timezone>
We can consider the standard timezone as GMT and enable this conversion just for "day=today"
Python code returns <Response [200]>
Is this an error code?
Maybe put some information up on what the API returns when there's an error?
Maybe some more detailed code?
Hello,
I have check and seems now your api is stop working
POST: https://aztro.sameerkumar.website?sign= &day=
working now :)
Regards.
Hi there,
I am using this API with React.js
and giving cross-origin
issue, below are the error:-
Access to XMLHttpRequest at 'https://aztro.readthedocs.io/en/latest/' (redirected from 'https://aztro.sameerkumar.website/?sign=aries&day=today') from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I will suggest you to add headers
in your backend.
thanks :)
Im getting this error
{
"message": "'NoneType' object has no attribute 'text'"
}
status:400 Bad Request
anyone know about this?
Looked at the astrology.py source file and it's scraping horoscopes from astrology.kudosmedia.net instead of generating them. Do you own kudosmedia or have a license from them to do this and encourage others to?
Not sure what their deal is. The last item in their news section is from 2010 and they've still got flash on the homepage.
Not accusing you of anything untoward, but I wouldn't want to implement this in a project and then find out I was pirating someone else's content by proxy, so I gotta ask.
im trying to access your api and it connects me to your document website is this api closed? can anybody help me?
Hi @sameerkumar18, I'm interested to contribute to this project by building the API wrapper in Go. The code is here: https://github.com/irfansofyana/go-aztro-api-wrapper.
Is it possible for me to add this to the website documentation?
Thanks in advance.
For the different involved methods
The API looks great, but there is an issue that makes the usage harder to implement.
the response value of the POST
request doesn't match the same compatibility of the sign name given in the parameters.
For example when using POST
like this (Aries sign): https://aztro.sameerkumar.website?sign=aries&day=today
The response looks like {date_range:..... "compatibility": "Capricorn" .....}
Which is not aries as expected.
Need to migrate the code base to Python 3.6, it's running Python2.7 at the moment!
Hello i am facing issue on api now... it was working fine before.... but now its retrun below json
{
message: "'NoneType' object has no attribute 'text'"
}
I am using php post method for it
Can you help me here to resolve it, please?
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.