aztro

The Astrology API 💫 Get daily horoscope! (by sameerkumar18)

Aztro Alternatives

Similar projects and alternatives to aztro

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better aztro alternative or higher similarity.

aztro reviews and mentions

Posts with mentions or reviews of aztro. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-21.
  • Horoscope not displaying from React Horoscope app?
    2 projects | reddit.com/r/CodingHelp | 21 Jul 2022
    const [sunSign, setSunSign]=useState(''); /* My sunSign state variable is set to an empty value because this value depends on what the user chooses so I didn't want there to be a set value. */ const [sunSignData, setSunSignData]=useState(null) const [loading, setLoading]=useState(false); /* My loading state variable is initialized to false so I could toggle between states by passing boolean value. False loading will hold the current value of the state and setLoading will let me change it */ // const [link, setLinkView]=useState(false); const [displayCard, setDisplayCard]=useState(false); const [reading, getReading]=useState(false); useEffect(() => { setLoading(true); const url = `https://aztro.sameerkumar.website/?sign=${sunSign}&day=today`; fetch(url, { method: 'POST' }) .then((res) => res.json()) .then((data) => setSunSignData(data)) .then(() => setLoading(false)); }, [sunSign]); const handleSelection = (event) => { setSunSign(event.target.value); } if (loading === true) { return '...Loading, wait one moment, please.'; } // const handleSelection = (event) => { // setSunSign(event.target.value); // } return ( SELECT YOUR SIGN Capricorn Aquarius Pisces Taurus Gemini Cancer Leo Virgo Libra Scorpio Sagittarius ) }
    2 projects | reddit.com/r/CodingHelp | 21 Jul 2022
    useEffect(() => { setLoading(true); // this will kick off and have your "loading" appear const url = `https://aztro.sameerkumar.website/?sign=${sunSign}&day=today`; fetch(url, { method: 'POST' }) .then((res) => res.json()) .then((data) => setSunSignData(data)) // you are setting sunSignData, but you are never using it anywhere? .then(() => setLoading(false)); // this turns off the loading screen }, [sunSign]); // when sunSign changes, this will run the useEffect
  • Setting up a Vuex Store with Nuxt
    4 projects | dev.to | 16 Feb 2022
    export const actions = { GET_TODAY({ commit }) { axios.post(`https://aztro.sameerkumar.website/?sign=${state.sign}&day=today`) .then(response => { commit('SET_TODAY', response.data) }) } }
    4 projects | dev.to | 16 Feb 2022
    https://github.com/sameerkumar18/aztro
  • React Native - Beautiful Horoscope App
    4 projects | dev.to | 2 Jan 2022
    Recently I was working on sample project that helps to sharpen my skill in React Native (RN), and I found an interesting API which related to horoscope. It was Aztro API, an open-source horoscope API. Hence, I decided to write myself a Horoscope App!
  • A note from our sponsor - Zigi
    www.zigi.ai | 10 Dec 2022
    Automate the mundane part of your day, with live actionable messages for your GitHub & Jira tasks. Learn more →

Stats

Basic aztro repo stats
7
180
0.0
22 days ago

sameerkumar18/aztro is an open source project licensed under Apache License 2.0 which is an OSI approved license.

Build time-series-based applications quickly and at scale.
InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.
www.influxdata.com