Category Archives: Tools

SDKs are now open source

We want to make sure that you, our publishers, have the ability to help make CityGrid SDKs better for the entire community, and that you aren’t forced to wait for us to make changes or to make changes yourself that we’ll eventually make on our own (and expect you to use).

That’s why you’ll now find our SDKs on github.  iOS is located here and android here

Go ahead and fork the code on github and when you’re ready to submit changes post a merge request in the “citygrid-dev-talk” Google forum.  You can also submit an SDK in an additional language or let us know of examples you’ve built.

We can’t wait to see what exciting things you’ll come up with.

CityGrid Local, Mobile, Social Stack: AskGeo

I’m adding another tool to the CityGrid Local, Mobile, Social Stack. This time its a service that allows you to find out the time zone information for a longitude and latitude, called AskGeo.

AskGeo is a dead simple REST API that lets you give a latitude and longitude and the API returns the unix (Olson) time zone ID (e.g., “America/Chicago”, “Europe/London”), the Windows Standard Name for the time zone (e.g., “Pacific Standard Time”, “Central European Standard Time”), and the current offset from UTC.

The API is free to try, and it is free for non-commercial and personal use. Open source projects, students, and private individuals may use it free of charge, but any user that wishes to use the API for commercial purposes must pay an access fee of $200 per year.

Currently they have a Java Library for working with the time zone API, and you can find complete documentation on the AskGeo website.

AskGeo is definitely an essential addition to the local, mobile, social stack–I see it providing providing a utility you can use for transit, travel, meeting and other time sensitive aspects of mobile and web application development.

Hyp3r0cal for WordPress

I wanted a way to make the rich content available via CityGrid APIs accessible to anyone, even if you weren’t a developer.

CityGrid has some great iOS and Android software development kits (SDK) available for building local, mobile applications.  I’ve also built some samples and starter kits for building local web applications in PHP, Python and Ruby.

WordPress seemed like the perfect next step to reach a larger audience, so I took the PHP Hyp3rL0cal directory that uses CityGrid Places API, and deployed it as a WordPress Plugin.

Now you can launch a quick section on your WordPress blog or site that allows you to display businesses for your area, in whatever category you wish.

This CityGrid Hyp3rL0cal WordPress Plugin is meant to be a project that developers can learn from and even deploy their own local WordPress Plugins that use CityGrid APIs.  However its completely functional and could be deployed by any non-developer as well.

Right now you can download or fork at Github, as I stabilize it further I will publish to the CityGrid developer center code samples page.

If you have any questions or need help, visit the CityGrid Developer Forums or ping us on Twitter via @citygridapiteam.