Code Monkey home page Code Monkey logo

globomap-loader-api-client's Introduction

GloboMap Loader API Client

Python client for API [Globo Map Core Loader] (https://github.com/globocom/globomap-core-loader)

Starting Project:

make setup

Running Tests:

make setup (When project not started yet.)
make tests

Example of use:

auth_inst = auth.Auth(
    api_url='http://localhost:5000',
    username='username_api',
    password='password_api'
)
self.update = Update(auth=auth_inst, driver_name='driver_x')
data = {
    "action": "<action>",
    "collection": "<edge_name>",
    "key": "<key>",
    "element": {
    "from": "<id_document>",
    "id": "<id_internal>",
    "name": "<name>",
    "properties": {
        "key_name_1": "value_1",
        "key_name_2": "value_2"
    },
    "properties_metadata": {
        "key_name_1": {
        "description": "description_1"
        },
        "key_name_2": {
        "description": "description_2"
        }
    },
    "provider": "<driver_name>",
    "timestamp": "<timestamp>",
    "to": "<id_document>"
    },
    "type": "edges"
}
res = self.update.post(data)

Licensing

Globo Map API is under Apache 2 License

globomap-loader-api-client's People

Contributors

edersonbrilhante avatar monuelo avatar sergios avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

globomap-loader-api-client's Issues

Asking for help to solve the dependency conflict issues of the globomap-loader-api-client's downstream projects

Hi, your downstream projects globomap-driver-napi-0.0.30 and globomap-driver-acs-0.0.46 suffered from a similar dependency conflict issue caused by globomap-loader-api-client 0.0.7.

As shown in the following links:
#issue 5 and
#issue 3.

Both projects globomap-driver-napi-0.0.30 and globomap-driver-acs-0.0.46 requires requests==2.10.0.
Could you please downgrade your direct dependency requests from 2.18.4 to 2.10.0, to remove this dependency hell?

Thanks for your help!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.