Guy Madison

unread,
Feb 22, 2015, 11:11:28 PM2/22/15
to mitappinv...@googlegroups.com

I'm having problems figuring out how to create an astrology app that accesses an api. My app will provide the spots for entering d.o.b., time of birth, BUT i don't know about city of birth as well as how to connect my app to it. I have done the 'stock market' app but that wasn't complex enough. Please help.

Scott Ferguson

unread,
Feb 23, 2015, 9:21:51 AM2/23/15
to mitappinv...@googlegroups.com
What is the api for the astrology web site and what are the parameters that are supported by the api?
Once you know that, you can use the Web component to query for the information that you need.
Appending the values entered by the user to the url which is passed to the api may be as simple as using the Text join block
Telling the app to get the result may be as simple as including a Web Get block and GotText block.
---
sf 

Taifun

unread,
Feb 23, 2015, 11:41:46 AM2/23/15
to mitappinv...@googlegroups.com
see also How to work with the web component and an API by Stephen
Taifun

Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by Taifun.         

Guy Madison

unread,
Feb 23, 2015, 9:49:24 PM2/23/15
to mitappinv...@googlegroups.com
May be. That's my problem. I don't know where to get access to an astrology api. I see other apps and they have text boxes for d.o.b, time, AND city, state. I don't see a component in ai2 for city and state. I know i will probably have to have an example in the hint spot, but i still need access to an astrology api.

SteveJG

unread,
Feb 23, 2015, 10:11:33 PM2/23/15
to mitappinv...@googlegroups.com

Taifun

unread,
Feb 24, 2015, 10:33:29 AM2/24/15
to mitappinv...@googlegroups.com
to search for APIs, see here http://www.programmableweb.com/search/astrology
Taifun
Reply all
Reply to author
Forward
0 new messages