Commit graph

25 commits

Author SHA1 Message Date
Josh Sherman
204f0151c1 Updated exceptions to compensate for namespace 2014-05-14 14:14:22 -04:00
Josh Sherman
e8d8689ce3 Added namespace, moved library to src
Also cleaned up some stray whitespace and formatted the latest functionality to
be in line with the rest of the file.
2014-05-14 12:09:18 -04:00
Josh Sherman
34506d71db Merge pull request #7 from bristweb/master
Divide and conquer
2014-03-12 11:36:12 -04:00
Jonathan Stanley
411bf890b9 adding subdividing ability for exhaustive search 2014-03-11 16:20:59 -06:00
Josh Sherman
39e146c40e Merge pull request #6 from bristweb/master
break down functions
2014-03-11 15:42:11 -04:00
Jonathan Stanley
8facb09a44 distance to degrees 2014-03-11 12:16:32 -06:00
Jonathan Stanley
4c5f50641b break down functions 2014-03-11 11:38:49 -06:00
Josh Sherman
f2eddb8036 Implemented pagetoken and dropped unsetting
Thanks to @bristweb for this update! Seems I failed to properly implement the pagetoken and there was a block of code where I was unsetting parameters because at the time it seemed as if Google was not ignoring them as they claimed they would (a/k/a they "lied").

I'm not overly fond of the `sleep(3)` but it's a necessary evil because Google's pagetokens are not immediately available (as per https://developers.google.com/places/documentation/search#PlaceSearchPaging). My thought would be to perhaps create a loop that will retry X times every Y seconds to better compensate for inconsistent activation times on Google's end.

Closes #4 (for the most part)
2014-02-26 10:06:20 -05:00
Josh Sherman
5ebede0e03 Fixed capitalization of pagetoken
Addresses the first part of #4
2014-02-26 09:58:44 -05:00
Joshua Sherman
52af4b2576 Updated the README
Figured it would good to set some expectations.
2014-02-25 18:14:01 -05:00
Joshua John Sherman
22d595da1f Merge pull request #3 from rasmusbe/master
Added support for radarsearch and place details requests
2014-01-28 11:28:50 -08:00
Rasmus Bengtsson
90814cb718 Added support for radarsearch and place details 2014-01-28 17:04:00 +01:00
Joshua John Sherman
3d003c63a3 Merge pull request #2 from rasmusbe/patch-1
Wrong method name
2014-01-28 05:51:10 -08:00
Rasmus
8e1b1c9e24 Wrong method name 2014-01-28 11:21:28 +01:00
Joshua Sherman
e7ef8357a9 Whoops wrong filename 2014-01-20 23:53:16 -05:00
Joshua Sherman
f52e1b186d Added composer.json 2014-01-20 23:51:01 -05:00
Joshua Sherman
d1a3087ec0 Added the MIT License
Closes #1
2014-01-12 19:47:35 -05:00
Josh Sherman
cb799e77e7 Fixed a typo. 2012-12-14 01:03:28 -05:00
Josh Sherman
ec8b181f13 Added pagination example
Sort of thinking there needs to be a "walk" method. Something like $places->walk('method') so you can be all like while (...) { ... } and easily spin through. Also considering a "next" method to help grab page 2 so you're now passing around variables (that's still allowed to, I guess)
2012-12-14 01:03:02 -05:00
Josh Sherman
d055fa49dd Working on the next page logic 2012-12-14 00:58:10 -05:00
Josh Sherman
6ee3b05f15 Editing README
I just prefer the github editor for markdown editing.
2012-12-13 22:55:33 -05:00
Josh Sherman
81bb478980 Added some usage examples 2012-12-13 22:45:12 -05:00
Josh Sherman
627c9df2e6 Hax0ring 2012-12-13 22:31:44 -05:00
Josh Sherman
38ef651ec2 Stashing changes, got basic workflow down, working on all the nuances of the nearbyplaces call 2012-12-13 15:09:53 -05:00
Josh Sherman
ebef23635a Initial commit 2012-12-13 09:45:58 -08:00