Skip to content
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

Switch to api.openstreetmap.org API host #8

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion OsmSharp.IO.API/ClientsFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class ClientsFactory : IClientsFactory
/// <summary>
/// The URL of the production instance of OSM's API. Use with care.
/// </summary>
public const string PRODUCTION_URL = @"https://www.openstreetmap.org/api/";
public const string PRODUCTION_URL = @"https://api.openstreetmap.org/api/";

/// <summary>
/// The URL of the development instance of OSM's API. The correct place to do testing.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Pull requests are welcome. You will need VisualStudio, VS Code or Rider to modif
// Create a client factory (pointing at the dev server)
var clientFactory = new ClientsFactory(null, new HttpClient(),
"https://master.apis.dev.openstreetmap.org/api/");
// After testing, use "https://www.openstreetmap.org/api/" for production
// After testing, use "https://api.openstreetmap.org/api/" for production
```

### Get a Node
Expand Down Expand Up @@ -100,4 +100,4 @@ See the [functional tests](https://github.com/blackboxlogic/OsmApiClient/tree/ma
- :new_moon: ReOpen a note

## Contribute
Issues and pull requests are welcome.
Issues and pull requests are welcome.
Loading