Skip to main content

Floor Memory

Project description

xfloor-memory-sdk

The set APIs are used to develop Floor pds which can be used as their personal assistants.

This set of APIs are divided into two parts.

  • Memory and
  • Registration.

The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Package version: 1.0.21
  • Generator version: 7.18.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://xfloor.ai/ipomo/blog1551084548304/

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import xfloor_memory_sdk

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import xfloor_memory_sdk

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import xfloor_memory_sdk
from xfloor_memory_sdk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://appfloor.in
# See configuration.py for a list of all supported configuration parameters.
configuration = xfloor_memory_sdk.Configuration(
    host = "https://appfloor.in"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure Bearer authorization: bearer
configuration = xfloor_memory_sdk.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)


# Enter a context with an instance of the API client
with xfloor_memory_sdk.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = xfloor_memory_sdk.AuthApi(api_client)
    new_email_id = 'new_email_id_example' # str | New Email ID
    activation_code = 'activation_code_example' # str | Validation code

    try:
        # Change email ID
        api_response = api_instance.change_email(new_email_id, activation_code)
        print("The response of AuthApi->change_email:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AuthApi->change_email: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://appfloor.in

Class

| Method | HTTP request |

Description

| ------------- | ------------- |


AuthApi

| change_email | POST /auth-service/change/email |

Change email ID AuthApi

| change_mobile_number | POST /auth-service/change/mobile |

Change Mobile number AuthApi

| change_password | POST /auth-service/password/change |

Change Password AuthApi

| register_external_user_identity | POST /memory/identity/external-user |

External User Registration AuthApi

| reset_password | POST /auth-service/password/reset |

Reset Password AuthApi

| send_validation_code | POST /auth-service/send/validation/code |

Send Validation code AuthApi

| sign_in_with_email | POST /auth-service/sign/in/with/email |

Sign In with email ID AuthApi

| sign_in_with_mobile_number | POST /auth-service/sign/in/with/mobile/number |

Sign In with Mobile number AuthApi

| sign_up | POST /auth-service/sign/up |

Sign Up AuthApi

| validate_code | POST /auth-service/validate/activation/code |

Validation EventApi

| event | POST /api/memory/events |

Create Event (Post Content) EventApi

| get_recent_events | GET /api/memory/recent/events |

Recent Events FloorApi

| edit_floor | POST /api/memory/edit/floor/{floor_id} |

Edit floor FloorApi

| get_floor_information | GET /api/memory/floor/info/{floor_id} |

Basic information of a floor FloorApi

| make_floor_private | POST /api/memory/make/floor/private/{floor_id} |

Make floor Private FloorApi

| make_floor_public | POST /api/memory/make/floor/public/{floor_id} |

Make floor public FloorApi

| rename_floor | POST /api/memory/change/floor/id |

Rename floor QueryApi

| query | POST /agent/memory/query |

Query (Primary API)

Documentation

For Models

Documentation

For Authorization

Authentication schemes defined for the API:

bearer

  • Type: Bearer authentication

Author

contact@ipomo.in

Platform Notes (macOS, Linux, Windows)

macOS / Linux

Use python3 for Python commands:

python3 -m pip install --upgrade pip
python3 -m pip install .
python3 setup.py install --user

Windows (PowerShell or CMD)

Use python for Python commands:

python -m pip install --upgrade pip
python -m pip install .
python setup.py install --user

If python is not available on your Windows PATH, use py instead.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xfloor_memory_sdk-1.0.21.tar.gz (66.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xfloor_memory_sdk-1.0.21-py3-none-any.whl (116.1 kB view details)

Uploaded Python 3

File details

Details for the file xfloor_memory_sdk-1.0.21.tar.gz.

File metadata

  • Download URL: xfloor_memory_sdk-1.0.21.tar.gz
  • Upload date:
  • Size: 66.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for xfloor_memory_sdk-1.0.21.tar.gz
Algorithm Hash digest
SHA256 b8d8ab15c1fd7010963b1dfb3e8870a3e27d70ac7e71919ba6a7395fe596554d
MD5 0a32bfc7026cec84ebdf7b5d371abced
BLAKE2b-256 6b91088ec1bf47aebd45f9d3e97d2ad481ba14b53f496d810bb872e7d2d0b8a2

See more details on using hashes here.

File details

Details for the file xfloor_memory_sdk-1.0.21-py3-none-any.whl.

File metadata

File hashes

Hashes for xfloor_memory_sdk-1.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 63ddc41037d2bf2170c43c160061a4792298a0b886eccf5a8aa1f0a1bf1cc919
MD5 2fe8cd31652670256a313ed9cb731843
BLAKE2b-256 940eb6958e999d9d21021860279d3d9b6081db3149da16eb7bbe42fd9f3e9f09

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page