Giter Club home page Giter Club logo

newastro's Introduction

New Astro API (Because the original one died LOL)

Untitled

NOT A SERIOUS DEVELOPMENT (or maybe yes…)

Spanglish readme

Flask API para el curso Intermedio de Android de Aristidevs

DEMO

Agradecimientos

Por dedicarle tiempo a esta basura de proyecto, quiero expresar mis sinceros agradecimientos a:

Erix

API

Realizamos una petición POST con la siguiente información en formato JSON

Method POST

{
  "date": "2020-01-01",
  "lang": "fr",
  "sign": "Libra"
}

URL: https://newastro.vercel.app/

Respuesta del servidor:

{
   "date":"2023-04-23",
   "horoscope":"Apr 23, 2023 - Combine your discipline and expansiveness today and see what manifests. Concentrate on your investments and home. The energy of the day is quite powerful and not something to be taken lightly. You may have much greater control than you realize. Understand that you have to be the one to take the initiative in order to activate the magic of today.",
   "icon":"http://127.0.0.1:5000/static/assets/zodiac-7.png",
   "id":7,
   "sign":"Libra"
}

Date and Lang se puede omitir de la siguiente manera

{
  "sign": "Aries"
}

La respuesta debería con la fecha actual y en su idioma general

{
   "date":"2023-04-23",
   "horoscope":"Apr 23, 2023 - Do something that inspires the passion within you, Aries. Don't be discouraged by setbacks - be motivated. Use discipline and patience to set your dreams in motion. Be realistic in your approach. The time has come to face the music. Whatever you do, don't shrink into the background and expect others to take care of things for you. The only one who acts in your best interests is you.",
   "icon":"http://127.0.0.1:5000/static/assets/zodiac-1.png",
   "id":1,
   "sign":"Aries"
}

Método GET

Se envía el signo zodiacal a través del PATH como se muestra a continuación

URL: https://newastro.vercel.app/aries

El resto de parámetros los pasamos por QUERY:

URL: https://newastro.vercel.app/aries?date=2022-04-20&lang=es

Que signos están soportados?

  • aries
  • taurus
  • gemini
  • cancer
  • leo
  • virgo
  • libra
  • scorpio
  • sagittarius
  • capricorn
  • aquarius
  • pisces

Api docs fue agregado

Untitled

Disclaimer

Las respuestas de la API son en el idioma que se te cante el orto 😃, no prometemos traducciones correctas por que google da asco en traducir textos largos. Peace ❤️

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.