Skip to main content

Keeping Tabs With The Hashnode Writeathon (THW)

Project description

THW Info Tabs (Updater)

The Hashnode Writeathon Python Module & API CONNECTOR

This is a simple THW updater that I created for learning purposes during the challenge;

Usage

Use one of the following APIs to test the different Hashtags

Web 3: https://hashnode.com/api/feed/tag/thw-web3

Web Apps: https://hashnode.com/api/feed/tag/thw-web-apps

Mobile Apps: https://hashnode.com/api/feed/tag/thw-mobile-apps

Cloud Computing: https://hashnode.com/api/feed/tag/thw-cloud-computing

API_URLs = ['https://hashnode.com/api/feed/tag/thw-cloud-computing',
            'https://hashnode.com/api/feed/tag/thw-mobile-apps',
            'https://hashnode.com/api/feed/tag/thw-web3',
            'https://hashnode.com/api/feed/tag/thw-web-apps'
            
            ]

code

pip install thwAPI

import thwAPI

URL = 'https://hashnode.com/api/feed/tag/thw-web3'
web_three = thwAPI(URL).count()

print(web_three)

Expected output;

......
There are currently 95 posts written!
....

The output depends at a time of running this;

Refer to Tests File for more examples;

Read Blog-Series here; https://blog.octachart.com/series/tabs-with-thw

Star this repo if you learnt something from my mini-series

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thwAPI-1.1.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

thwAPI-1.1.0-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page