Skip to content

mastopa/web-scrape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Web Scrape JKT48 API

Welcome to the Web Scrape JKT48 API! This API provides information about schedules, news, and events related to theaters.

Getting Started

Installation

Make sure you have Node.js installed on your machine.

# Clone the repository
git clone [https://github.com/Synxx12/JKT48-Scrape.git](https://github.com/mastopa/web-scrape.git)

# Navigate to the project directory
cd JKT48-Scrape

# Install dependencies
npm install

Run the Application

# Run the application
npm run dev

The API will be available at http://localhost:3000.

Endpoints

/schedule

Description: Get schedule data.

Endpoint: /schedule

Method: GET

Example:

 http://localhost:3000/api/schedule

/news

Description: Get news data.

Endpoint: /news

Method: GET

Example:

 http://localhost:3000/api/news

/events

Description: Get events data.

Endpoint: /events

Method: GET

Example:

 http://localhost:3000/api/events

/birthdays

Description: Get birthdays data.

Endpoint: /birthdays

Method: GET

Example:

 http://localhost:3000/api/birthdays

/member

Description: Get member data.

Endpoint: /member

Method: GET

Example:

 http://localhost:3000/api/member

/banners

Description: Get banners data.

Endpoint: /banners

Method: GET

Example:

 http://localhost:3000/api/banners

/schedule/section

Description: Get schedule section data.

Endpoint: /schedule/section

Method: GET

Example:

 http://localhost:3000/api/schedule/section

/video

Description: Get video data.

Endpoint: /video

Method: GET

Example:

 http://localhost:3000/api/video

/member/:id

Description: Get member detail data.

Endpoint: /member/:id

Method: GET

Example:

 http://localhost:3000/api/member/:id

/news/:page

Description: Get member detail data.

Endpoint: /news/:page

Method: GET

Example:

 http://localhost:3000/api/news/:page

Feel free to explore and integrate these endpoints into your applications! If you encounter any issues, please refer to the troubleshooting section or open an issue.