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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file thwAPI-1.1.0.tar.gz.

File metadata

  • Download URL: thwAPI-1.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.0

File hashes

Hashes for thwAPI-1.1.0.tar.gz
Algorithm Hash digest
SHA256 8e683a29d70e8c11796314a05d2cd26aa72f93bf6c43da1f5b4d5970ba051984
MD5 0866e070b9e01406d341ae033f973549
BLAKE2b-256 750255e9707dfa04788899743cf549bcb37915ab6b328be8f4c5f2441900e9f1

See more details on using hashes here.

File details

Details for the file thwAPI-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: thwAPI-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.0

File hashes

Hashes for thwAPI-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63bb95a7c52854c1018ee5c74ed20f8f4c8377ebd0a6cacb9e5b19d58712d204
MD5 70b65db2576ae73028383165fbf90c3a
BLAKE2b-256 f0d88ed558098ddb54f9f98790b51b78042f86fedcbf7b42582f29d1c8b6a5eb

See more details on using hashes here.

Supported by

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