{"id":28386585,"url":"https://github.com/geocodefarm/geocodefarm-js","last_synced_at":"2025-06-26T15:31:21.453Z","repository":{"id":297639838,"uuid":"961086283","full_name":"geocodefarm/geocodefarm-js","owner":"geocodefarm","description":"JavaScript SDK for the Geocode.Farm API","archived":false,"fork":false,"pushed_at":"2025-04-05T18:14:55.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T15:35:12.466Z","etag":null,"topics":["geocode","geocode-farm","geocodefarm","geocoder","geocoder-api","geocoder-library","geocoding","geocoding-api","geocoding-library","geocoding-service","geocoding-services","javascript","javascript-library","js","js-library","js-sdk","sdk","sdk-javascript","sdk-js"],"latest_commit_sha":null,"homepage":"https://geocode.farm","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geocodefarm.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,"zenodo":null}},"created_at":"2025-04-05T18:11:30.000Z","updated_at":"2025-04-25T17:37:05.000Z","dependencies_parsed_at":"2025-06-06T15:47:26.780Z","dependency_job_id":null,"html_url":"https://github.com/geocodefarm/geocodefarm-js","commit_stats":null,"previous_names":["geocodefarm/geocodefarm-js"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/geocodefarm/geocodefarm-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocodefarm%2Fgeocodefarm-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocodefarm%2Fgeocodefarm-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocodefarm%2Fgeocodefarm-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocodefarm%2Fgeocodefarm-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geocodefarm","download_url":"https://codeload.github.com/geocodefarm/geocodefarm-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocodefarm%2Fgeocodefarm-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262094347,"owners_count":23257936,"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":["geocode","geocode-farm","geocodefarm","geocoder","geocoder-api","geocoder-library","geocoding","geocoding-api","geocoding-library","geocoding-service","geocoding-services","javascript","javascript-library","js","js-library","js-sdk","sdk","sdk-javascript","sdk-js"],"created_at":"2025-05-30T15:11:41.826Z","updated_at":"2025-06-26T15:31:21.443Z","avatar_url":"https://github.com/geocodefarm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Geocode.Farm JavaScript SDK\n\n## Introduction\nThe official JavaScript SDK for the Geocode.Farm API.\n\nThis SDK allows you to easily integrate geocoding (both forward and reverse) into your JavaScript applications.\n\n## Installation\n\nYou can include the `geocodefarm.js` file directly in your HTML project, or install it through package managers like npm or yarn.\n\nTo use the SDK, simply include the script and initialize it with your API key.\n\n## Example Usage\n\n```html\n\u003cscript src=\"https://github.com/geocodefarm/geocodefarm-js/raw/refs/heads/main/geocodefarm.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n    const geocode = new GeocodeFarm('your_api_key_here');\n\n    // Example: Forward geocoding\n    geocode.forward('1600 Pennsylvania Ave, Washington, DC').then(response =\u003e {\n        if (response.success) {\n            console.log('Coordinates:', response.lat, response.lon);\n        } else {\n            console.error('Error:', response.error);\n        }\n    });\n\n    // Example: Reverse geocoding\n    geocode.reverse(38.8977, -77.0365).then(response =\u003e {\n        if (response.success) {\n            console.log('Address:', response.full_address);\n        } else {\n            console.error('Error:', response.error);\n        }\n    });\n\u003c/script\u003e\n```\n\n## License\nThis SDK is licensed under **The Unlicense** (public domain).\n\n## Contributing\nIf you find any bugs or have suggestions, please submit an issue or a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeocodefarm%2Fgeocodefarm-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeocodefarm%2Fgeocodefarm-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeocodefarm%2Fgeocodefarm-js/lists"}