{"id":17399660,"url":"https://github.com/max-mapper/jsonpify","last_synced_at":"2025-04-23T19:34:35.736Z","repository":{"id":1070807,"uuid":"911545","full_name":"max-mapper/jsonpify","owner":"max-mapper","description":"turn json apis into jsonp apis through a heroku proxy!","archived":false,"fork":false,"pushed_at":"2012-06-04T20:31:21.000Z","size":112,"stargazers_count":16,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-07T14:44:41.934Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"jsonpify.heroku.com","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/max-mapper.png","metadata":{"files":{"readme":"README.textile","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-09-15T02:24:09.000Z","updated_at":"2014-11-27T09:35:38.000Z","dependencies_parsed_at":"2022-07-17T12:00:32.830Z","dependency_job_id":null,"html_url":"https://github.com/max-mapper/jsonpify","commit_stats":null,"previous_names":["max-mapper/jsonpify","maxogden/jsonpify"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-mapper%2Fjsonpify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-mapper%2Fjsonpify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-mapper%2Fjsonpify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-mapper%2Fjsonpify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/max-mapper","download_url":"https://codeload.github.com/max-mapper/jsonpify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250500053,"owners_count":21440748,"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-10-16T15:24:26.006Z","updated_at":"2025-04-23T19:34:35.691Z","avatar_url":"https://github.com/max-mapper.png","language":"Ruby","readme":"h1. JSONP-ifier!!!!!\n\nh2. Turns any JSON API into a JSONP API through the magic of proxying\n\nSo you are trying to AJAX some JSON, right? And you run into the single origin policy? And the JSON API that you're hitting hasn't implemented JSONP? Dang! Here's an example of what you might do:\n    \nbc.  $.getJSON(\"http://api.plancast.com/02/plans/show.json?plan_id=34ck\", function(data) { doStuffWith(data)});\n\nBut instead of precious data, you would receive nasty CSRF error!\n\nFret not, young internet warrior! You can wrap that little puppy in a JSONPify URL for maximum JSONPification!\n\nbc.   $.ajax({                                                                                      \n    url: \"http://jsonpify.heroku.com?resource=http://api.plancast.com/02/plans/show.json\",  \n    data: {\n      plan_id: '34ck'\n    }\n    dataType: 'jsonp',                                                                          \n    success: function(data){                                                                    \n      // manipulate data                                                                        \n    }                                                                                           \n  });\n\nh2. Installation\n\nClone this repository, then run:\n\nbc. $ rackup\n\nThen, open \u003ccode\u003ehttp://localhost:9292/\u003c/code\u003e.","funding_links":[],"categories":["\u003ca name=\"Ruby\"\u003e\u003c/a\u003eRuby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-mapper%2Fjsonpify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmax-mapper%2Fjsonpify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-mapper%2Fjsonpify/lists"}