Skip to content

Dtar380/ViewCounterPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👀 ViewsCounterPython

A Python/Flask based API to create custom ViewCounter Badges

ViewsCounterPython is a Python/Flask based API which appends to img.shields.io to generate a custom static badge with a viewcount which is updated every time the API is appended.

📑 Table of Content

📋 How to use

  1. create a link using https://viewcounterpython.onrender.com/user/repo (you can create it without /repo if you want to see total viewcount through all repos of the user which have the API implemented)
  2. add a query to customize your badge:
    • label=, by default Visitors,
    • labelColor=, by default C79600,
    • logo=, by default eye, (using octicons)
    • logoColor=, by default white,
    • color=, by default E1AD0E,
    • style=, by default for-the-badge
  3. Your resulting link should look something like this:
    https://viewcounterpython.onrender.com/user/repo?label=views

  1. Add the link to a ![image](url) markdown tag or a <img src="url"> html tag
  2. The result should look like this:

Visitors

📂 Known Issues

The API is up and working as intended

📜 License

VideoService is distributed under the license MIT.
See the LICENSE file for more information.

💸 Sponsorship

You can support me and the project with a donation to my Ko-Fi

ko-fi

About

A script to keep track of the views

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages