Skip to content

richecr/hltvgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hltvgo - This is an unofficial library of hltv.org (Under development)

Table of contents

Usage

A library written in Go with the aim of allowing the extraction of information from the https://www.hltv.org/ website.

⚠️ WARNING: This is an unofficial library and if it is used in a way that breaks hltv.org rules, your account may be banned or your IP blocked by Cloudflare protection.

Our intention is to write in Go and create an SDK for other programming languages, the first will be python as it has an easy way to convert to a Python library using gopy.

SDKs

Go to Python3

Generate package Python

gopy pkg -name=hltvsdk -author="Rich Ramalho" -email="richelton14@gmail.com" -desc="The unofficial HLTV Python API" -url="https://github.com/richecr/hltvgo" -output=hltv_sdk -vm=python3 github.com/richecr/hltvgo github.com/richecr/hltvgo/lib/api  github.com/richecr/hltvgo/lib/operations github.com/richecr/hltvgo/lib/entity

Generate dist

python setup.py bdist_wheel

To publish to PyPi you need to use this command:

python -m build

Install local (test)

wheel_file=$(ls dist/*.whl | head -n1); pip install $wheel_file

Uninstall local (test)

wheel_file=$(ls dist/*.whl | head -n1); pip uninstall $wheel_file