FizzBuzz API Convenient, Cloud-based FizzBuzz for every developer. CURRENTLY OFFLINE.

Elegent Simple, Elegent API. Write as little code as you need. No authentication required. Easy As much FizzBuzz as you need, one GET request away. 100% Accurate 100% accurate FizzBuzz. No BuzzFizz. Promised forever.

Quickstart

FizzBuzz API is designed to be as easy to get started with as possible. Instead of relying on your old desktop FizzBuzz generator, you can just simply get them from the cloud. The best way to demonstrate this is with a simple example:

$ curl https://itwont.work/fizzbuzz/api { "message":"success", "numbers": ["1","2","Fizz","4","Buzz","Fizz","7" [...] "Buzz"] }

message : Usually success but may contain other messages. Always check this before you try to use anything else from the API as it may contain error messages.

: Usually but may contain other messages. Always check this before you try to use anything else from the API as it may contain error messages. numbers : A JSON array of the numbers in the generated FizzBuzz sequence. Each number is always a string containing the digit rather than being in a numeric type, for compatibility reasons.

Options

As you can see, the API returns a JSON object, containing two fields:

The API can also take a few options (given as ?option=value after the URL):

start : First number in the FizzBuzz sequence. Defaults to 1 .

: First number in the FizzBuzz sequence. Defaults to . end : Last number in the FizzBuzz sequence. Defaults to 50 more than start .

The difference between the start and end points may not exceed 10000.

$ curl https://itwont.work/fizzbuzz/api?start=10&end=15 { "message":"success", "numbers": ["Buzz","11","Fizz","13","14","FizzBuzz"] }

For example: