google api
I hope to get list of music concert event based on the zip codes
and I used above google api.

can you guide me how to filter just music event and zip?

I use c#
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David FavorLinux/LXD/WordPress/Hosting SavantCommented:
What you're asking will just require you jump in + start coding/experimenting.

1) The Google Calendar API will only allow you to access calendars.

2) If you point your code a various different calendars, which contain music events + addresses (zip codes) then you can pull this data.

3) Many of these calendar entries my have various formats, since calendar events are just structured text + many times the structure may not make sense. This means you'll likely be writing a lot of custom code to look through every line of the calendar entry looking for a zip code. For example, someone my put the address in a notes field or URL field or any other oddly named field. Best of you pull all text from the entire entry, then parse the entry looking for a 5x or 10x character zip code.

4) There is no... one size fits all... approach to writing this code. You'll just have to write the code + compare your parsing with actual events, to ensure you're pulling out data you require.

5) No matter what language you choose, you'll still likely use libcurl() for sites with APIs or RSS feeds or microdata.

6) For sites you must scrape, you'll use to correctly pull data generated by Javascript.

Note: Be sure to check the TOS of sites you're accessing. Some sites will be happy for you to pull data. Other sites prohibit pulling data.

7) c# eh... This means your code will be very difficult to port. If it's important for your code to work forever + coding time be minimal, then use PERL or some other scripted language, geared toward handling strings.
Scott FellDeveloper & EE ModeratorCommented:
I can't help with the specific C# code, however, in the api it shows how to find what you may be looking for  using "q" Free text search terms to find events that match these terms in any field, except for extended properties. Optional.

Are these events in a Google Calendar that you have access to? and what does the data from one event look like now?
ITsolutionWizardAuthor Commented:
thanks guys. my goal is to extract those events into my database. using c# or just JavaScript.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.