Giter Site home page Giter Site logo

vetmanager-api's Introduction

DEPRECATED! Please use following repos instead

vetmanager-api

Library for work with Vetmanager REST API. Now url address has format $domain.vetmanager.ru for example: myclinic76.vetmanager.ru But this url format can changes in future.

If you want stable application for Vetmanager REST API, please use this library

GitHub CI

Run in Postman

How to use

Install

composer require otis/vetmanager-api:@dev

Basic usage Url

use function Otis22\VetmanagerApi\url;

echo url('myclinic') . "\n";

Where 'myclinic' is first part from your clinic url. $domain.vetmanager.ru

Basic Usage Token

use function Otis22\VetmanagerApi\url;
use function Otis22\VetmanagerApi\credentials;
use function Otis22\VetmanagerApi\token;

$credentials = credentials('login', 'password', 'app_name');
$url = url('myclinic');
echo token($credentials, $url) . "\n";

Where:

  • 'myclinic' - first part from your clinic url. $domain.vetmanager.ru
  • 'login' - user login
  • 'password' - user password
  • 'app_name' - name application will use this token

Contributing

Run docker container

cd docker
docker-compose up

now you can connect to terminal

docker exec -it vetmanager-api /bin/bash

Run tests

#validate composer json
composer check-composer

#static analyzes and codestyle 
composer static

#run unit tests
composer unit-tests

#run all tests

composer all-tests

vetmanager-api's People

Contributors

otis22 avatar danilyer228 avatar

Stargazers

 avatar

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.