{"id":13472306,"url":"https://github.com/bradjasper/ImportJSON","last_synced_at":"2025-03-26T15:31:52.124Z","repository":{"id":5492911,"uuid":"6691289","full_name":"bradjasper/ImportJSON","owner":"bradjasper","description":"Import JSON into Google Sheets, this library adds various ImportJSON functions to your spreadsheet","archived":true,"fork":false,"pushed_at":"2022-11-16T19:26:06.000Z","size":521,"stargazers_count":2105,"open_issues_count":175,"forks_count":1057,"subscribers_count":98,"default_branch":"master","last_synced_at":"2024-10-30T04:13:38.534Z","etag":null,"topics":["cryptocurrencies","google-sheets","importjson","parsing","spreadsheet"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bradjasper.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}},"created_at":"2012-11-14T17:00:09.000Z","updated_at":"2024-10-28T04:58:51.000Z","dependencies_parsed_at":"2023-01-11T16:49:22.119Z","dependency_job_id":null,"html_url":"https://github.com/bradjasper/ImportJSON","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/bradjasper%2FImportJSON","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradjasper%2FImportJSON/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradjasper%2FImportJSON/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradjasper%2FImportJSON/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bradjasper","download_url":"https://codeload.github.com/bradjasper/ImportJSON/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245681395,"owners_count":20655182,"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":["cryptocurrencies","google-sheets","importjson","parsing","spreadsheet"],"created_at":"2024-07-31T16:00:53.690Z","updated_at":"2025-03-26T15:31:51.677Z","avatar_url":"https://github.com/bradjasper.png","language":"HTML","funding_links":[],"categories":["HTML","Scripts","Snippets and assorted"],"sub_categories":["Snippets"],"readme":"# ImportJSON\n\n**NOTE: This repo is currently unmaintained and looking for a new developer. If you are interested please reach out to contact@bradjasper.com**\n\nImport JSON from any URL directly into your Google Sheets. `ImportJSON.gs` adds an `=ImportJSON()` function to your spreadsheet, allowing quick and easy JSON importing. To use go to `Tools` \u003e `Script Editor` and add the `ImportJSON.gs` file. Now in your spreadsheet you can access the `ImportJSON()` function. Use it like this:\n\n    =ImportJSON(\"https://mysafeinfo.com/api/data?list=bestnovels\u0026format=json\u0026rows=20\u0026alias=cnt=count,avg=average_rank,tt=title,au=author,yr=year\", \"/title\")\n\nHere are all the functions available:\n\n| Function                |  Description                                                                      |\n|-------------------------|-----------------------------------------------------------------------------------|\n| **ImportJSON**          | For use by end users to import a JSON feed from a URL                             |\n| **ImportJSONFromSheet** | For use by end users to import JSON from one of the Sheets                        |\n| **ImportJSONViaPost**   | For use by end users to import a JSON feed from a URL using POST parameters       |\n| **ImportJSONBasicAuth** | For use by end users to import a JSON feed from a URL with HTTP Basic Auth        |\n| **ImportJSONAdvanced**  | For use by script developers to easily extend the functionality of this library   |\n\nReview `ImportJSON.gs` for more info on how to use these in detail.\n\n## Version\n- v1.6.0 (June 2, 2019) Fixed null values (thanks @gdesmedt1)\n- v1.5.0 (January 11, 2019) Adds ability to include all headers in a fixed order even when no data is present for a given header in some or all rows.\n- v1.4.0 (July 23, 2017) - Project transferred to Brad Jasper. Fixed off-by-one array bug. Fixed previous value bug. Added custom annotations. Added ImportJSONFromSheet and ImportJSONBasicAuth.\n- v1.3.0 - Adds ability to import the text from a set of rows containing the text to parse. All cells are concatenated\n- v1.2.1 - Fixed a bug with how nested arrays are handled. The rowIndex counter wasn't incrementing properly when parsing.\n- v1.2.0 - Added ImportJSONViaPost and support for fetchOptions to ImportJSONAdvanced\n- v1.1.1 - Added a version number using Google Scripts Versioning so other developers can use the library\n- v1.1.0 - Added support for the noHeaders option\n- v1.0.0 - Initial release\n\n## How can you help?\n- Found a bug? Report it! https://github.com/bradjasper/ImportJSON/issues\n- Want to contribute? Submit an \u003ca href=\"https://github.com/bradjasper/ImportJSON/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement\"\u003eenhancement\u003c/a\u003e\n\n## Website archive\nThis code base used to be hosted at http://blog.fastfedora.com/projects/import-json and contained a lot of useful information. It has been archived at https://rawgit.com/bradjasper/ImportJSON/master/archive/blog.fastfedora.com/projects/import-json.html\n\n## Alternatives\nSome of this if possible internally with Google App Scripts External APIs, like UrlFetch: https://developers.google.com/apps-script/guides/services/external\n\nThese require a Google account and an explicit permission, but in some cases may be a good fit.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradjasper%2FImportJSON","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbradjasper%2FImportJSON","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradjasper%2FImportJSON/lists"}