Get started

                API Endpoint

                https://api.travelogue.online/v1
            

Provide API for android & Ios app. Use only GET & POST method to call API.

To use this API, you need an key & secret

Register

Register a new account
https://api.travelogue.online/v1/register

                    
                        {
                          "status":"200",
                          "message":"Success",
                          "result": {
                            "user_id": "16",
                            "profile_pic": "https://travelogue
                            }
                        }
                    
                

QUERY PARAMETERS

Field Type Required Description
key String Yes API Key
secret String Yes API Secret
Name String Yes Name
key String Yes API Key

Login

Login using email & password. Google & Apple login
https://api.travelogue.online/v1/login

                
                    
                    {
                      "status":"200",
                      "message":"Success",
                      "result": {
                       "user_id": "16",
                       "profile_pic": "https://travelogue.online/assets/images/photo-default.svg"
                      }
                    }
                
            

QUERY PARAMETERS

Field Type Required Description
key String Yes API Key
secret String Yes API Secret
login String Yes email from login page
password String Yes password from login page
google_id String Yes google_id from Google login. If this is provided login & password no need to provide
apple_id String Yes google_id from Google login. If this is provided login & password no need to provide

Home

Home page of the app. Get the Current/ Upcoming/Past trip of user.
https://api.travelogue.online/v1/trip


                
                       

                        {
                          "status":"200",
                          "message":"Success",
                          "result": {

                          "current": [
                            {
                              "trip_id": "13",
                              "title": "USA",
                              "picture": "https://travelogue.online/images/default_background.png",
                              "day": "4",
                              "from_date": "Wed, 13 Nov 19",
                              "to_date": "Sun, 16 Nov 19",
                              "friend": [
                                {
                                  "name": "Peter",
                                  "picture": "https://link"
                                }
                              ]
                            }
                          ],
                          "upcoming": [
                            {
                              "trip_id": "14",
                              "title": "test",
                              "picture": "https://travelogue.online/images/default_background.png",
                              "day": "7",
                              "from_date": ""Thu, 20 Aug 20",
                              "to_date": "Wed, 26 Aug 20",
                              "friend": [
                                {
                                  "name": "John",
                                  "picture": "https://link"
                                }
                              ]
                            }
                          ],
                          "past": [
                            {
                              "trip_id": "5",
                              "title": "Perth",
                              "picture": "https://travelogue.online/images/default_background.png",
                              "day": "22",
                              "from_date": "Fri, 5 Jul 19",
                              "to_date": "Thu, 4 Jul 19",
                              "friend": [
                                {
                                  "name": "Dennis",
                                  "picture": "https://link"
                                }
                              ]
                            }
                          ]



                        }
                
            

QUERY PARAMETERS

Field Type Required Description
key String Yes API Key
secret String Yes API Secret
user_id String Yes user_id from login