Skip to content

Commit

Permalink
Remove :dstk lookup (defunct).
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreisner committed May 2, 2024
1 parent 05faae3 commit 7318823
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 77 deletions.
14 changes: 0 additions & 14 deletions README_API_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,6 @@ Global Street Address Lookups
* **Terms of Service**: http://www.microsoft.com/maps/product/terms.html
* **Limitations**: No country codes or state names. Must be used on "public-facing, non-password protected web sites," "in conjunction with Bing Maps or an application that integrates Bing Maps."

### Data Science Toolkit (`:dstk`)

Data Science Toolkit provides an API whose response format is like Google's but which can be set up as a privately hosted service.
* **API key**: none
* **Quota**: No quota if you are self-hosting the service.
* **Region**: world
* **SSL support**: ?
* **Languages**: en
* **Documentation**: http://www.datasciencetoolkit.org/developerdocs
* **Terms of Service**: http://www.datasciencetoolkit.org/developerdocs#googlestylegeocoder
* **Limitations**: No reverse geocoding.
* **Notes**: If you are hosting your own DSTK server you will need to configure the host name, eg: `Geocoder.configure(lookup: :dstk, dstk: {host: "localhost:4567"})`.
### ESRI (`:esri`)

* **API key**: optional (set `Geocoder.configure(esri: {api_key: ["client_id", "client_secret"]})`)
Expand Down
1 change: 0 additions & 1 deletion lib/geocoder/lookup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def all_services_with_http_requests
def street_services
@street_services ||= [
:location_iq,
:dstk,
:esri,
:google,
:google_premier,
Expand Down
22 changes: 0 additions & 22 deletions lib/geocoder/lookups/dstk.rb

This file was deleted.

6 changes: 0 additions & 6 deletions lib/geocoder/results/dstk.rb

This file was deleted.

8 changes: 0 additions & 8 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,6 @@ def fixture_prefix
end
end

require 'geocoder/lookups/dstk'
class Dstk
private
def fixture_prefix
"google"
end
end

require 'geocoder/lookups/location_iq'
class LocationIq
private
Expand Down
26 changes: 0 additions & 26 deletions test/unit/lookups/dstk_test.rb

This file was deleted.

0 comments on commit 7318823

Please sign in to comment.