Discussion Forums  >  Uncategorized

Replies: 4    Views: 212

ZoeyF
Lost but trying
Profile
Posts: 15
Reg: Jun 16, 2011
location unknow...
150
08/16/11 06:29 AM (14 years ago)

Api Question

Hi, I have a question, I have got Permission to use an api in my app but How I would go about doing so thanks.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/16/11 11:01 PM (14 years ago)
What API - this could mean anything. I'm happy to try to help but have no idea what you're up to ;-)
 
steveh6883
buzztouch Evangelist
Profile
Posts: 383
Reg: May 15, 2011
Gosport, UK
3,830
like
08/17/11 01:09 PM (14 years ago)
??? need more info to help :(
 
ZoeyF
Lost but trying
Profile
Posts: 15
Reg: Jun 16, 2011
location unknow...
150
like
08/17/11 01:14 PM (14 years ago)
I would like to use Yelp Api with Google Map Api so when people look up info they get reviews and they can map it.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/18/11 12:19 PM (14 years ago)
Ah... I see. You'll need to write some code to do this but totally doable with a little skill / patience / both? Assuming you want to use a map to show cool foodie stuff, you would do something like this. Create a map and don't enter any location information. Use the Data URL in the advanced settings to point to a .php script on your website that will provide the locations. The script on your website would output the location data in the format that the mobile app expects. You can see this format in the buzztouch docs. This approach means you'll be writing a .php script that communitcated with the Yelp API. It's much easier to do this than re-writing the Objecte C to do the same thing. And, imagine having an iOS and Android app powered by the same script on your website. Summary: a) Make a map screen with zero locations b) Set the Data URL for the map to your URL to your custom .php script c) Write the custom .php script to communicate with Yelp to get a long list of locations d) After your script gets the locations, it filters and arranges them before outputting the JSON data for the mobile app. Nerdy, for sure. Fun, totally!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.