unofficial api to get information from camphub and other camp/competition news website. in thai
Project description
Usage
get an information about the camp and compettion currently available
aims to be used mainly on thailand event and compettion centered aroud tech and computer
I don't have intention to make it a scraper for commercial purpose I just want to share the information I found in discord faster
user of this project should only use it for personal use and not for commercial purpose
Installation
pip install camp-parser
from camp_parser import camphub_parser # or any thing thatREADME.rst we support
camp = camphub_parser('https://www.camphub.in.th/computer/') #page url
print(camp.info) #get the information
Information structure
{
'title': 'title of the camp',
'link': 'link to the camp page',
'small_description': 'mified description of the camp',
'type': 'event type (onsite/online/etc...)',
'organize_date': 'start date of the camp',
'register_deadline': 'last day yu can register to the camp',
'max_paticipants': '(string not number Ex. ไม่จำกัด, 200ค คน)',
'cost': 'cost of the camp Ex. ฟรี, 1000 บาท',
'pticipants_requirements': 'what you need to join the camp',
'organizer': 'who organize the camp',
'full_description': 'full description of the camp',
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
camp_parser-1.0.1.tar.gz
(3.5 kB
view hashes)