{"id":18318723,"url":"https://github.com/xdevplatform/json-to-csv-livestream","last_synced_at":"2025-04-09T13:55:14.968Z","repository":{"id":80527628,"uuid":"348380883","full_name":"xdevplatform/JSON-to-CSV-livestream","owner":"xdevplatform","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-16T18:12:39.000Z","size":94,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-02-15T07:51:43.316Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xdevplatform.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-03-16T14:35:27.000Z","updated_at":"2021-05-13T22:04:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa1355a6-1590-4311-a4aa-cb8f316185a7","html_url":"https://github.com/xdevplatform/JSON-to-CSV-livestream","commit_stats":null,"previous_names":["xdevplatform/json-to-csv-livestream"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdevplatform%2FJSON-to-CSV-livestream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdevplatform%2FJSON-to-CSV-livestream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdevplatform%2FJSON-to-CSV-livestream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdevplatform%2FJSON-to-CSV-livestream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xdevplatform","download_url":"https://codeload.github.com/xdevplatform/JSON-to-CSV-livestream/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054217,"owners_count":21039951,"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-05T18:11:23.237Z","updated_at":"2025-04-09T13:55:14.946Z","avatar_url":"https://github.com/xdevplatform.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code from JSON to CSV livestream\n\nCode from a live session on March 16th 2020. In this session we discussed how to start working with the data returned from v2 of the Twitter API. We covered how to work with nested JSON and send your data to a CSV.\n\n## Setting up your environment variable\nFor all the code samples you will first need to set up an environment variable in your terminal to save your bearer token to your request. You will need to replace your-bearer-token with your own bearer token. Be sure to keep the single quotes around your bearer token.\n\n```bash\nexport BEARER_TOKEN='your-bearer-token'\n```\n\n## Links and Resources\n\n- [Apply for access](https://developer.twitter.com/en/apply-for-access)\n\n- [Step by step guide to your first request](https://dev.to/twitterdev/step-by-step-guide-to-making-your-first-request-to-the-new-twitter-api-v2-42mi)\n\n- [Timeslines docs](https://developer.twitter.com/en/docs/twitter-api/tweets/timelines/introduction)\n\n- [Recent search docs](https://developer.twitter.com/en/docs/twitter-api/tweets/search/introduction)\n\n- [JSON to CSV site](https://konklone.io/json/)\n\n- [csvkit docs](https://csvkit.readthedocs.io/en/latest/)\n\n- [Running a Jupyter notebook](https://jupyter.readthedocs.io/en/latest/running.html)\n\n- [Pandas docs](https://pandas.pydata.org/docs/)\n\n- [Twarc expansions](https://github.com/DocNow/twarc/blob/v2/twarc/expansions.py)\n\n\n## Contributing\n\nWe welcome pull requests that add meaningful additions to these code samples, particularly for languages that are not yet represented here.\n\nWe feel that a welcoming community is important and we ask that you follow Twitter's\n[Open Source Code of Conduct](https://github.com/twitter/code-of-conduct/blob/master/code-of-conduct.md)\nin all interactions with the community.\n\n## License\n\nCopyright 2020 Twitter, Inc.\n\nLicensed under the Apache License, Version 2.0: https://www.apache.org/licenses/LICENSE-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdevplatform%2Fjson-to-csv-livestream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxdevplatform%2Fjson-to-csv-livestream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdevplatform%2Fjson-to-csv-livestream/lists"}