My Business Lodging API
The My Business Lodging API enables managing lodging business information on Google. Note: If you have a quota of 0 after enabling the API, please request GBP…
Developer tools#openapi#analytics#media
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
The My Business Lodging API enables managing lodging business information on Google. Note: If you have a quota of 0 after enabling the API, please request GBP API access at https://developers.google.com/my-business/content/prereqs#request-access.
Endpoints 3
locations
- GETReturns the Lodging of a specific location.
/v1/:name?readMask=stringReturns the Lodging of a specific location. - PATCHUpdates the Lodging of a specific location.
/v1/:name?updateMask=stringUpdates the Lodging of a specific location.
locations.lodging
- GETReturns the Google updated Lodging of a specific location.
/v1/:name:getGoogleUpdated?readMask=stringReturns the Google updated Lodging of a specific location.
API details
- Base URL
https://mybusinesslodging.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow)
An API key in the key query parameter - Operations
- 3 operations on 2 pathsGET 2PATCH 1
- Main resources
- locations 2locations.lodging 1
- Response formats
application/json- Description format
- Google API Discovery, API version
v1 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the My Business Lodging API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the My Business Lodging API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow). Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Returns the Lodging of a specific location.” (GET /v1/:name?readMask=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the My Business Lodging API?
The My Business Lodging API enables managing lodging business information on Google. Note: If you have a quota of 0 after enabling the API, please request GBP… It is listed under Developer tools and has 3 endpoints.
Who publishes the My Business Lodging API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the My Business Lodging API?
Requests go to https://mybusinesslodging.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the My Business Lodging API?
It accepts 2 methods: OAuth 2.0 (authorization code flow); an API key in the key query parameter.
How many endpoints does the My Business Lodging API have?
3 operations on 2 paths (2 GET, 1 PATCH). The largest groups are locations, locations.lodging.
Is forking the My Business Lodging API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.