Code Monkey home page Code Monkey logo

beeapidocs's Introduction

Beeminder API Documentation

To Do

  • More prominent link to Beeminder
  • [for bee] Possibly update links to api in beeminder/beeminder to have target=blank

Contributing

If you're working on building something with our API and you run into confusion, we'd love to hear about it! If something's not clear in the docs, or something's not working as you expect it to, it might be us, not you! If you do find something that needs clarification or is just plain wrong, we'd love a pull request with fixes or edits.

Prerequisites

You're going to need:

  • Linux or OS X โ€” Windows may work, but is unsupported.
  • Ruby, version 2.2.5 or newer
  • Bundler โ€” If Ruby is already installed, but the bundle command doesn't work, just run gem install bundler in a terminal.

Getting Set Up

  1. Fork this repository on Github.
  2. Clone your forked repository (not our original one) to your hard drive with git clone https://github.com/YOURUSERNAME/apidocs.git
  3. cd apidocs
  4. Initialize and start Slate. You can either do this locally, or with Vagrant:
# either run this to run locally
bundle install
bundle exec middleman server

# OR run this to run with vagrant
vagrant up

You can now see the docs at http://localhost:4567. Whoa! That was fast!

Submitting

Once you've made your changes, you can submit a pull request to beeminder/apidocs!

Deploying changes to the docs

(For beeminder/apidocs owners)

  1. Commit changes and push to the master branch at beeminder/apidocs (or accept / merge pull request)
  2. Run ./deploy.sh
  • Do not touch the gh-pages branch
  • Double check if api.beeminder.com is still available.[1]

[1] There was a problem where the custom domain setting was getting unset every time we deployed. It looks like I've successfully fixed it now, but if you check after deploy and the subdomain is broken (e.g. you get redirect to the github pages url) then go quickly into https://github.com/beeminder/apidocs/settings and re-add "api.beeminder.com" under 'Custom domain').

Need Help? Found a bug?

Submit an issue, or email [email protected] if you need any help.



The Beeminder api docs are created with Slate. Check it out at lord.github.io/slate.

beeapidocs's People

Contributors

adamwolf avatar andrewpbrett avatar blackxored avatar bootstraponline avatar bsoule avatar chrissrogers avatar cvkef avatar djpowers avatar dlackty avatar dreeves avatar floorlamp avatar gojun077 avatar kevin-buttercoin avatar lord avatar maks3w avatar marcguyer avatar matkoniecz avatar moizjv avatar niksamokhvalov avatar paulocoghi avatar pbechu avatar prayagverma avatar readmecritic avatar realityking avatar rezanachmad avatar rickyrauch avatar rlord avatar sobstel avatar victorquinn avatar wodka avatar

Watchers

 avatar  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.