Skip to content

Commit 44c53c0

Browse files
authored
Merge pull request #3 from thatapicompany/aden/update-docs-with-new-api-url
new api url and improved readme
2 parents 609ecd6 + cf63abf commit 44c53c0

File tree

3 files changed

+27
-16
lines changed

3 files changed

+27
-16
lines changed

README.md

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,38 @@
66

77
[See the API in Action at https://www.OvertureMapsAPI.com/](https://www.overturemapsapi.com/)
88

9+
## Hosted Version
910

10-
## Endpoints
11+
The hosted version of the Overture Maps API has additional datasets including that are expensive to build & host, and are not included in the self-hosted version:
1112

12-
- [OpenAPI Spec Doc](https://overture-maps-api.thatapicompany.com/api-docs.json)
13-
- [./Places](https://docs.overturemaps.org/guides/places/) - The Overture places theme has one feature type, called place, and contains more than 53 million point representations of real-world entities: schools, businesses, hospitals, religious organizations, landmarks, mountain peaks, and much more.
14-
- ./Places/Brands - Lists all the Brands used in the Places data, along with counts of Places for each.
15-
- ./Places/Categories - Lists all the Categories used in the Places data, along with counts of Places and Brands in each
16-
- ./Places/Countries - Lists all the Countries used in the Places data, along with counts of Places and Brands in each
13+
- OpenStreetMap entity Id for each Place where available
14+
- additional data sources for Places
15+
- additional metadata fields for each Place
16+
- Endpoint: [https://api.overturemapsapi.com](https://api.overturemapsapi.com)
17+
- OpenAPI Doc: [https://api.overturemapsapi.com/api-docs](https://api.overturemapsapi.com/api-docs)
18+
19+
[Sign up at https://overturemapsapi.com](https://overturemapsapi.com/)
20+
21+
## Self Hosting
22+
23+
- [Deploy to Google Cloud Platform using Cloudrun and BigQuery](./docs/google-cloud-platform.md)
24+
25+
## API Endpoints
26+
27+
- [OpenAPI Spec Doc](https://api.overturemapsapi.com/api-docs.json)
28+
- [./Places](https://www.overturemapsapi.com/docs/api-endpoints/places/) - The Overture places theme has one feature type, called place, and contains more than 53 million point representations of real-world entities: schools, businesses, hospitals, religious organizations, landmarks, mountain peaks, and much more.
29+
- [./Places/Brands](https://www.overturemapsapi.com/docs/api-endpoints/places-brands) - Lists all the Brands used in the Places data, along with counts of Places for each.
30+
- [./Places/Categories](https://www.overturemapsapi.com/docs/api-endpoints/places-categories) - Lists all the Categories used in the Places data, along with counts of Places and Brands in each.
31+
- [./Places/Countries](https://www.overturemapsapi.com/docs/api-endpoints/places-countries) - Lists all the Countries used in the Places data, along with counts of Places and Brands in each.
32+
- [./Places/Buildings](https://www.overturemapsapi.com/docs/api-endpoints/places-buildings) - Returns the Building shapes with the Places
1733

1834
### Schemas & Design
1935

2036
- [API Design](./docs/api-design.md)
2137
- [Response Formats GeoJSON & JSON](./docs/response-formats.md)
22-
- [Place](https://docs.overturemaps.org/schema/reference/places/place/)
23-
- [Address](https://docs.overturemaps.org/schema/reference/addresses/address/)
38+
- [Place Schema](https://docs.overturemaps.org/schema/reference/places/place/)
39+
- [Address Schema](https://docs.overturemaps.org/schema/reference/addresses/address/)
2440
- [Overture Maps Official site](https://overturemaps.org/)
25-
- [Overture Maps API](https://docs.overturemaps.org/)
2641

2742
### API Roadmap
2843

@@ -42,10 +57,6 @@ Extras:
4257
- [ ] Fill `wikidata` holes in the data
4358
- [ ] Add `wikidata` to the appropriate response for things like Brand logos, and more info
4459

45-
### Deployment & Datasets
46-
47-
- [Google Cloud Platform](./docs/google-cloud-platform.md)
48-
4960
### API Key management
5061

5162
You can either use the hardcoded API key in the code `DEMO-API-KEY`, or use the Auth API by going to theAuthAPI.com and creating an account. You can then create an Access Key for the App and add it as an Env var, and then create any number of API Keys for secure access to the API, and rate-limit them for cost control.

src/app.controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export class AppController {
1616
"service":this.appService.getAppName(),
1717
"version":this.appService.getVersion(),
1818
message:"API by ThatAPICompany.com, Data by OvertureMaps.org",
19-
docs_openapi:"https://overture-maps-api.thatapicompany.com/api-docs",
20-
docs_ui:"https://overture-maps-api.thatapicompany.com/api-docs-ui"
19+
docs_openapi:"https://api.overturemapsapi.com/api-docs",
20+
docs_ui:"https://api.overturemapsapi.com/api-docs-ui"
2121
};
2222
}
2323
}

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ async function bootstrap() {
3535
.setDescription('OpenAPI docs for the Overture Maps API')
3636
.setVersion('1.0')
3737
.addServer('http://localhost:8080/', 'Local environment')
38-
.addServer('https://overture-maps-api.thatapicompany.com','Cloud API Service')
38+
.addServer('https://api.overturemapsapi.com','Cloud API Service')
3939
.setContact("Aden Forshaw", "https://thatapicompany.com/overture-maps-api", "[email protected]")
4040
.addApiKey(
4141
{ type: 'apiKey', name: 'x-api-key', in: 'header' },

0 commit comments

Comments
 (0)