私はIphoneで働いています。私は、iPhoneのアプリケーションで四角形の統合に必要なほとんどすべての作業を行っています。 このアプリケーションでVenue検索機能を追加しようとしています。foursquare会場からのiphone-parseの回答
code-:
NSMutableString *url=[[NSMutableString alloc] initWithFormat:@"https://api.foursquare.com/v2/venues/search?ll=26.8606200,75.761608&client_secret=XXXXXX&client_id=XXXXXX"];
NSLog(@"%@",url);
NSURL *url1=[[NSURL alloc] initWithString:[url stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
NSLog(@"%@",url1);
NSDictionary *dicVenue=[self objectWithUrl:url1];
NSLog(@"%@",dicVenue);
This is my response for foursquare Venues search:-
of this line-- NSLog(@"%@",dicVenue);
groups = (
{
items = (
{
categories = (
{
icon = "https://foursquare.com/img/categories/education/default.png";
id = 4bf58dd8d48988d1a8941735;
name = "General College & University";
parents = (
"Colleges & Universities"
);
pluralName = "General Colleges & Universities";
primary = 1;
shortName = "Other - Education";
}
);
contact = {
};
hereNow = {
count = 0;
};
id = 4ed0c8f48231b9ef88fe5f09;
location = {
distance = 529;
lat = "26.857954980225713";
lng = "75.76602927296061";
};
name = "Banayan Tree School";
stats = {
checkinsCount = 5;
tipCount = 0;
usersCount = 4;
};
verified = 0;
},
{
categories = (
{
icon = "https://foursquare.com/img/categories/food/default.png";
id = 4bf58dd8d48988d1c4941735;
name = Restaurant;
parents = (
Food
);
pluralName = Restaurants;
primary = 1;
shortName = "Other - Food";
}
);
contact = {
};
hereNow = {
count = 0;
};
id = 4ea2e30ce3008f7d9243bfb5;
location = {
city = Jaipur;
distance = 73;
lat = "26.8599860034498";
lng = "75.76141358915882";
state = Rajasthan;
};
name = Vyanjan;
stats = {
checkinsCount = 2;
tipCount = 0;
usersCount = 2;
};
verified = 0;
},
{
categories = (
{
icon = "https://foursquare.com/img/categories/arts_entertainment/movietheater.png";
id = 4bf58dd8d48988d180941735;
name = Multiplex;
parents = (
"Arts & Entertainment",
"Movie Theaters"
);
pluralName = Multiplexes;
primary = 1;
shortName = Cineplex;
}
);
contact = {
};
hereNow = {
count = 0;
};
id = 4eda5812be7be28337a34e1d;
location = {
address = "Mansarovar, Jaipur, Rajasthan";
city = Jaipur;
distance = 1439;
lat = "26.849646795110605";
lng = "75.76927853413078";
state = Rajasthan;
};
name = "Galaxy Cinema Hall";
stats = {
checkinsCount = 8;
tipCount = 2;
usersCount = 6;
};
verified = 0;
},
先生、私を助けてください
venueAddressなど、venueId、venueNameを取得する方法を教えてください。私は本当にあなたの助けが必要です。私はあなたの賢明な返答を待っています。ありがとうございます。
iamsult me.Iは、iPhoneの開発に私はちょっと私には、以下のリンク(HTTPを使用し、答えに感謝をRAJなど – priya