• Stars
    star
    221
  • Rank 179,773 (Top 4 %)
  • Language
    Ruby
  • Created over 12 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Balanced API specification.

Balanced API Specification

Build Status

This repository contains an executable specification of the Balanced API. The goal of this repository is two-fold. First, to ensure that the API is working according to the spec. Second, to provide a place to have discussions around the API as a product.

An Executable Specification

Specifications don't matter if they're not followed. Therefore, this specification is executable, so we can ensure conformance to the spec. There are more details in the README file inside the features directory, but to run these tests yourself, simply:

$ git clone https://github.com/balanced/balanced-api.git
$ cd balanced-api
$ bundle
$ bin/rake cucumber

This requires Ruby. We run the changes with Ruby 2.0, but other versions will probably work as well. Let us know if you have any problems running these specs, and we'd be happy to help.

If you're working on a new scenario, the 'focus' task is useful. Tag a scenario with @focus, and then run bin/rake focus. It will only run that single scenario.

Discussions around changes

Speaking of issues, that's the second purpose of this repository. If you would like to see a new feature implemented in the Balanced API, please open an issue and we'll discuss it.

For example, one of our biggest requests is to support non-USD currencies. Here is the issue with the discussion, and when we support this feature, we close the issue via a pull request that implements the specification, and then everyone on the issue gets notified.

Sometimes, Issues are great for collecting feedback, as well. For example, all implementation of the current framework was done via PR, and some issues need more explanation around use cases by those who want the feature, like Bitcoin support.

We try to do as much 'internal' discussion in these issues as well, it's not just for public feedback. If you want to know what we're thinking, just search for a relevant issue!

Edit field descriptions for scenarios

Field descriptions are from balanced.rev1.json, which are generated from balanced-api. The "forms" used in balanced-docs are assembled from parameters supplied in the scenarios in balanced-api. Those scenarios should be updated to include the fields missing the specific scenario section and a newly generated balanced.rev1.json be committed into the docs. To generate balanced.rev1.json in balanced-api run:

bundle exec rake features:all

DO NOT run

bundle exec rake parallel:features

doing so causes the file to overwrite itself.

More Repositories

1

balanced-dashboard

The Balanced dashboard.
JavaScript
2,284
star
2

billy

Billy - The open source recurring billing system, powered by Balanced.
Python
172
star
3

status.balancedpayments.com

Balanced status dashboard.
Python
120
star
4

balanced-ruby

Balanced API library in ruby.
Ruby
111
star
5

balanced-php

Balanced API library in php.
PHP
71
star
6

balanced-python

Balanced API library in python.
Python
69
star
7

rentmybikes-rails

A fully functional, deployable marketplace implementation using Balanced API for Rails
JavaScript
60
star
8

balanced-node

Balanced API library in node.js.
JavaScript
44
star
9

balanced-js

Javascript client library for Balanced that tokenizes cards and bank accounts.
JavaScript
40
star
10

balanced-ios

Balanced iOS
Objective-C
34
star
11

www.balancedpayments.com

The website for Balanced.
HTML
29
star
12

wac

wac
Python
27
star
13

balanced.github.com

Balanced Blog
CSS
22
star
14

balanced-docs

Balanced's API Documentation
CSS
21
star
15

balanced-android

Balanced Android API.
Java
19
star
16

balanced-java

Balanced API library in java.
Java
18
star
17

django-balanced

Got Django? Start paying people in 10 minutes
Python
17
star
18

restful

Library for writing RESTful PHP clients
PHP
14
star
19

rentmybikes

premium bike rentals - sample marketplace application
Python
13
star
20

balanced-csharp

Balanced Payments C# client library
C#
10
star
21

bob

Bob the Builder - package your software into a deb/rpm/tar, publishes to a repository, and notifies you all by using a simple yaml file
Python
5
star
22

strapped

Bootstrapped less & js for Balanced UI
CSS
5
star
23

httpproxy

A transparent HTTP proxy library
Python
5
star
24

nacha

Python
4
star
25

omnibus-balanced

omnibus packaging for balanced projects
Ruby
4
star
26

sftpproxy

A SFTP proxy library
Python
4
star
27

balanced-ios-app

Hobby project
Objective-C
3
star
28

frl

Standardized logger for Flask and Requests
Python
3
star
29

forex

Our foreign currency conversion service.
Ruby
2
star
30

doughboy

Python
2
star
31

django-example

Example django integration application.
Python
2
star
32

rentmybikes-node

Node.js implementation of RentMyBikes
JavaScript
2
star
33

chronicle

python logging tools and extensions
Python
2
star
34

petitioners

Flask request tracing
Python
2
star
35

aggregation-benchmark

Some simple programs for running account balance aggregation benchmark
Python
2
star
36

BalBot

Balanced Payments Battle Bot for the Beautiful IRC Channel
Python
1
star
37

PyXB

Our own PyXB fork for isolating package
Python
1
star