[](https://pypi.org/project/waybacktweets)
-Retrieves archived tweets CDX data from the Wayback Machine, performs necessary parsing, and saves the data.
+Retrieves archived tweets CDX data from the Wayback Machine, performs necessary parsing, and saves the data in CSV, JSON, and HTML formats.
## Installation
## Documentation
-- [Wayback Tweets documentation]()
-- [Wayback CDX Server API - Beta documentation](https://archive.org/developers/wayback-cdx-server.html)
+- [Wayback Tweets documentation](https://claromes.github.io/waybacktweets)
+- [Wayback CDX Server API (Beta) documentation](https://archive.org/developers/wayback-cdx-server.html)
## Acknowledgements
"""**New Feature: CLI**
You can now retrieve archived tweets using the Wayback Tweets command line tool.
-Download the archived tweets' CDX data in CSV, JSON, and HTML formats.
+Download the archived tweets CDX data in CSV, JSON, and HTML formats.
-For more details, [read the documentation](https://github.com/claromes/waybacktweets).""" # noqa: E501
+For more details, [read the documentation](https://claromes.github.io/waybacktweets).""" # noqa: E501
)
st.title(
Wayback Tweets Documentation
------------------------------
-Retrieves archived tweets' CDX data from the Wayback Machine, performs necessary parsing, and saves the data.
+Retrieves archived tweets CDX data from the Wayback Machine, performs necessary parsing, and saves the data in CSV, JSON, and HTML formats.
User Guide
result
errors
contribute
+ todo
Command-Line Interface
poetry install
+ Run Streamlit App:
+
+ .. code-block:: shell
+
+ streamlit run app/app.py
+
`Read the Poetry CLI documentation <https://python-poetry.org/docs/cli/>`_.
--- /dev/null
+TODO
+================
+
+.. |uncheck| raw:: html
+
+ <input type="checkbox">
+
+|uncheck| JSON Issue: Create a separate function to handle JSON return, apply JsonParser (``waybacktweets/api/parse_tweets.py:73``), and avoid rate limiting.
+
C--> |4xx| E[return None]
E--> F{request Archived\nTweet URL}
F--> |4xx| G[return Only CDX data]
- F--> |2xx/3xx: application/json| J[return JSON text]
+ F--> |TODO: 2xx/3xx: application/json| J[return JSON text]
F--> |2xx/3xx: text/html, warc/revisit, unk| K[return HTML iframe tag]