Coder Social home page Coder Social logo

sypht-team / sypht-csharp-client Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 1.0 67 KB

A C# / .NET client for the Sypht API

License: Apache License 2.0

C# 100.00%
api-client data-extraction dotnet dot-net dotnet-cli dotnet-library sypht sypht-api invoice extract

sypht-csharp-client's Introduction

Sypht C# Client

This repository is a C# / .NET sample implementation for working with the Sypht API at https://api.sypht.com.

About Sypht

Sypht is a SaaS API which extracts key fields from documents. For example, you can upload an image or pdf of a bill or invoice and extract the amount due, due date, invoice number and biller information.

Getting started

To get started you'll need API credentials, i.e. a <client_id> and <client_secret>, which can be obtained by registering for an account

Prerequisites

  • supports .NET Core 3.1

Usage

Populate system environment variable with the credentials generated above:

export SYPHT_API_KEY="<client_id>:<client_secret>"

If credentials were issued after 16th June 2020, please use one more system environment variable:

export SYPHT_AUTH_ENDPOINT="https://auth.sypht.com/oauth2/token"

install the json.net dependency

dotnet add package Newtonsoft.Json --version 12.0.2

then invoke the example file under examples/simple.cs

dotnet clean
dotnet build
dotnet run examples/simple.cs

License

The software in this repository is available as open source under the terms of the Apache License.

Code of Conduct

Everyone interacting in the project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

sypht-csharp-client's People

Contributors

duaneallam avatar simonmittag avatar simonsypht avatar stanislavhordiyenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

7studios

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.