{"id":20877752,"url":"https://github.com/dafrok/getjsonp","last_synced_at":"2026-04-29T05:37:58.665Z","repository":{"id":78496008,"uuid":"88862058","full_name":"Dafrok/getJSONP","owner":"Dafrok","description":"A simpler helper function to get JSON data from another server.","archived":false,"fork":false,"pushed_at":"2017-04-24T07:18:25.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-28T22:57:39.385Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/Dafrok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2017-04-20T12:16:36.000Z","updated_at":"2018-05-18T20:50:38.000Z","dependencies_parsed_at":"2023-03-30T15:49:59.091Z","dependency_job_id":null,"html_url":"https://github.com/Dafrok/getJSONP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dafrok/getJSONP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dafrok%2FgetJSONP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dafrok%2FgetJSONP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dafrok%2FgetJSONP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dafrok%2FgetJSONP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dafrok","download_url":"https://codeload.github.com/Dafrok/getJSONP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dafrok%2FgetJSONP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32412890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T05:20:56.964Z","status":"ssl_error","status_checked_at":"2026-04-29T05:19:54.749Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-18T06:58:27.899Z","updated_at":"2026-04-29T05:37:58.650Z","avatar_url":"https://github.com/Dafrok.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# getJSONP\nA simpler helper function to get JSON data from another server.\n\n[Download getJSONP](https://github.com/cferdinandi/getJSONP/archive/master.zip)\n\n\n## Getting Started\n\n### 1. Include getJSONP on your site.\n\nInclude the code in your script, or load it as an external file.\n\n```js\nvar getJSONP = function ( url, callback ) {\n\t...\n};\n```\n\n### 2. Fetch your JSON data.\n\nPass in the URL to fetch data from, as well as the name of a callback function to pass the data to.\n\n```js\n// Callback function\nvar logAPI = function ( data ) {\n    console.log( data );\n};\n\n// Get JSON\ngetJSONP( 'https://jsonplaceholder.typicode.com/posts/10', 'logAPI' );\n```\n\n\n\n## Browser Compatibility\n\ngetJSONP works in all modern browsers, and IE 6 and above.\n\n\n\n## How to Contribute\n\nPlease review the [contributing guidelines](CONTRIBUTING.md).\n\n\n\n## License\n\nThe code is available under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdafrok%2Fgetjsonp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdafrok%2Fgetjsonp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdafrok%2Fgetjsonp/lists"}