2.6.14 • Published 4 months ago

@stacc/services-ambita-realty v2.6.14

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Stacc Ambita Realty Proxy API

An API that proxies the Ambita Realty API

Requirements

To run and try out this API locally, a .env file must be included with the correct credentials:

API_URL=<API_URL>
AUTH_URL=<AUTH_URL
AMBITA_CLIENT_ID=<AMBITA_CLIENT_ID>
AMBITA_CLIENT_SECRET=<AMBITA_CLIENT_SECRET>
AMBITA_USERNAME=<AMBITA_USERNAME>
AMBITA_PASSWORD=<AMBITA_PASSWORD>

After this is setup, run the following command at the project's root:

$ npm install && npm run dev

Try out the API locally with REST client (Visual Studio Code)

  1. Install a REST client for your IDE
  2. Add a settings.json file to your .vscode folder and include the following:
    {
        "rest-client.environmentVariables": {
            "$shared":{
                "nin1": "<enter your nin here>",
                "nin2": "<enter your nin here>"
            },
            "local": {
            },
            "production": {
            }
        }
    }
    • !! Always make sure to not commit sensitive personal data to the VCS !!
  3. $ npm run dev
  4. You should now be abvle to run the requests in the src/requests folder.

For other IDE's, follow the documentation and makes sure to .gitignore any files containing sensitive information:

2.6.14

4 months ago

2.6.13

4 months ago

2.5.0

10 months ago

2.6.1

7 months ago

2.5.2

10 months ago

2.6.0

7 months ago

2.5.1

10 months ago

2.6.3

7 months ago

2.6.2

7 months ago

2.6.11

7 months ago

2.6.12

6 months ago

2.6.10

7 months ago

2.6.5

7 months ago

2.6.4

7 months ago

2.6.7

7 months ago

2.6.6

7 months ago

2.6.9

7 months ago

2.6.8

7 months ago

2.4.1

11 months ago

2.4.3

11 months ago

2.4.2

11 months ago

2.4.5

11 months ago

2.4.4

11 months ago

2.4.0

1 year ago

2.3.0

2 years ago

2.0.15

2 years ago

2.2.0

2 years ago

2.0.16

2 years ago

2.3.2

1 year ago

2.3.1

1 year ago

2.3.4

1 year ago

2.3.3

1 year ago

2.1.0

2 years ago

2.0.14

2 years ago

2.0.13

2 years ago

2.0.12

2 years ago

2.0.11

2 years ago

2.0.10

2 years ago

2.0.9

2 years ago

2.0.8

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago