Skip to content

Develop #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 14, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ With just 2 lines of code you can request to any google places api feature. No n
* [Place Details](#place-details) requests return more detailed information about a specific Place, including user reviews.
* [Place Autocomplete](#place-autocomplete) can be used to automatically fill in the name and/or address of a place as you type.
* [Query Autocomplete](#query-autocomplete) can be used to provide a query prediction service for text-based geographic searches, by returning suggested queries as you type.
* [Place Add](#place-add) can be used to add a place to Google's Place database

# Installation
Install it with composer
Expand Down Expand Up @@ -155,6 +156,11 @@ If you are not familiar with <em>Laravel's Collection</em> you can either refere
* `input` — The text string on which to search. The Places service will return candidate matches based on this string and order results based on their perceived relevance.
* `params` - **Optional Parameters** You can refer all the available optional parameters on the [Google's Official Webpage](https://developers.google.com/places/web-service/query)

<a name=place-add></a>
# Place Add
### addPlace($params)
* `params` - The set of key-value parameters necessary to add a place to Google. You can refer to the fields on [Google's Official Webpage regarding Place Add](https://developers.google.com/places/web-service/add-place)

# Additional Methods
### getStatus()
This will return the status of the response send by google api. Use it after making any request.
Expand Down