{"id":18773638,"url":"https://github.com/protocol/filecoin-sp-locations","last_synced_at":"2025-10-27T03:18:44.453Z","repository":{"id":91501746,"uuid":"467615730","full_name":"protocol/filecoin-sp-locations","owner":"protocol","description":"versioned query system to find SP locations","archived":false,"fork":false,"pushed_at":"2022-03-08T21:37:14.000Z","size":88,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-29T08:41:32.746Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/protocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-08T17:41:28.000Z","updated_at":"2022-03-08T21:37:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"d54be98e-bd54-4a09-ba58-f0b2af3e1658","html_url":"https://github.com/protocol/filecoin-sp-locations","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protocol%2Ffilecoin-sp-locations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protocol%2Ffilecoin-sp-locations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protocol%2Ffilecoin-sp-locations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protocol%2Ffilecoin-sp-locations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/protocol","download_url":"https://codeload.github.com/protocol/filecoin-sp-locations/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239680983,"owners_count":19679509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T19:34:40.714Z","updated_at":"2025-10-27T03:18:44.360Z","avatar_url":"https://github.com/protocol.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# filecoin-sp-locations\nVersioned query system to find SP locations\n\n# How to use\nfindLocation takes as input:\n\n```\n{ \"minerID\": string, // the SP minerID you are searching for the location of\n\"loc_version\": string } // version of the location information used \n```\n\nAnd returns as output:\n```\n{ \"minerID\": string, // the SP minerID you are searching for the location of\n\"loc_version\": string, // version of the location information used \n\"country\": string, // If all locations are from the same country, contains country code\n\"locations\": [ // array of the locations found for this minerID in this location version\n  {\"region_code\": string, // varies based on version, generally COUNTRY-PROVINCE\n  \"long\": num, // longitude\n  \"lat\":num} //latitude\n  ...]\n  }\n  \n```\n\n# Versions\n## v 1.2.0\nUses synthetic location information from Jim Pick's provider quest project\nSee Jim's presentation on the methodology [here](https://youtu.be/PyxSRV0UlFc?t=2633)\nData pulled from [this textile bucket](https://hub.textile.io/thread/bafkwblbznyqkmqx5l677z3kjsslhxo2vbbqh6wluunvvdbmqattrdya/buckets/bafzbeibjg7kky45npdwnogui5ffla7dint62xpttvvlzrsbewlrfmbusya/synthetic-country-state-province-locations-latest.json)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotocol%2Ffilecoin-sp-locations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprotocol%2Ffilecoin-sp-locations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotocol%2Ffilecoin-sp-locations/lists"}