This API has been creating using FLASK
Packages
Flask
numpy
pandas
tensorflow
scikit-learn
mysql-connector-python
Note
- Make sure you already installed anaconda
- Make sure you already installed xampp
- Create database with name 'tourista_db' with contain tables:
- destination
- review_wisata
- trip
- trip_detail
- user_account
- user_profile
- Import via csv file dataset to each table in the previously created database
- run the API with "
python main.py
"
GET /
Arguments | Output |
---|---|
none | API tourista already running, for documentation can direct on github |
All of the body for given data only using x-www-form-urlencoded format
POST /ml/recommendContentBased
Key | Info |
---|---|
user_id |
Required |
category |
Required |
city |
Required |
price |
Required |
All of the body for given data only using x-www-form-urlencoded format
POST /ml/recommendCollab
Key | Info |
---|---|
user_id |
Required |
user_lat |
Required |
user_long |
Required |
All of the body for given data only using x-www-form-urlencoded format
POST /ml/recommendSimilarItem
Key | Info |
---|---|
`destination_name' | Required |