Giter Club home page Giter Club logo

stripe-haskell-library's Introduction

Stripe-Haskell-Library

CircleCI

This code is auto-generated by Haskell-OpenAPI-Client-Code-Generator available on Hackage.

Generation

The files were auto-generated and formatted (with ormolu) with:

openapi3-code-generator-exe stripe-api.yml --force --property-type-suffix="'" --module-name "StripeAPI" --convert-to-camel-case --omit-additional-operation-functions --package-name "stripeapi"
for file in $(find out -name "*.hs"); do ormolu -m inplace $file; done

How to use

See example/src/StripeHandling.hs for an example usage. The example can be run as follows (add your Stripe API key to example/src/StripeHandling.hs):

cd example
stack run --fast

Extra modules

There are a few hand-written modules which are currently:

  • StripeAPI.Types.NotificationEventData.Extra

As they are not reexported (to modify as little of the generated code as possible) you need to explicitly import them (see example/src/StripeHandling.hs for an example).

On the package level

From hackage

  • install cabal
  • cabal install stripeapi (This may take a while)

From source

See https://github.com/Haskell-OpenAPI-Code-Generator/Haskell-OpenAPI-Client-Code-Generator#example-package for an example project generated with the same code generator.

Hackage

This library is available at https://hackage.haskell.org/package/stripeapi.

stripe-haskell-library's People

Contributors

joel-bach avatar alucardtheripper avatar norfairking avatar

Watchers

 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.