Skip to content

Commit ce00d25

Browse files
author
Jim Whimpey
committed
Initial commit
0 parents  commit ce00d25

13 files changed

+3332
-0
lines changed

.gitignore

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Created by https://www.gitignore.io/api/node
2+
3+
### Node ###
4+
# Logs
5+
logs
6+
*.log
7+
npm-debug.log*
8+
9+
# Runtime data
10+
pids
11+
*.pid
12+
*.seed
13+
14+
# Directory for instrumented libs generated by jscoverage/JSCover
15+
lib-cov
16+
17+
# Coverage directory used by tools like istanbul
18+
coverage
19+
20+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
21+
.grunt
22+
23+
# node-waf configuration
24+
.lock-wscript
25+
26+
# Compiled binary addons (http://nodejs.org/api/addons.html)
27+
build/Release
28+
29+
# Dependency directory
30+
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
31+
node_modules

.npmignore

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Created by https://www.gitignore.io/api/node
2+
3+
### Node ###
4+
# Logs
5+
logs
6+
*.log
7+
npm-debug.log*
8+
9+
# Runtime data
10+
pids
11+
*.pid
12+
*.seed
13+
14+
# Directory for instrumented libs generated by jscoverage/JSCover
15+
lib-cov
16+
17+
# Coverage directory used by tools like istanbul
18+
coverage
19+
20+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
21+
.grunt
22+
23+
# node-waf configuration
24+
.lock-wscript
25+
26+
# Compiled binary addons (http://nodejs.org/api/addons.html)
27+
build/Release
28+
29+
# Dependency directory
30+
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
31+
node_modules
32+
33+
# This is a built file that WE DEFINITELY WANT IN THE PUBLISHED PACKAGE
34+
# Aggressively include it
35+
!schema.json

.travis.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
language: node_js
2+
node_js:
3+
- '5.0'
4+
script:
5+
- npm run build
6+
deploy:
7+
provider: npm
8+
9+
api_key:
10+
secure: gAZXwQXzvok8dQmqI4qR+GGl58toLfIgT5JK5D3oKcNaVDYMWF6B2tKj5sEinebKYjQHlXhzu4GYfBoLA3Ur1f6pqhBpyMTS9dmJXW9N65DxCY2sIYQA4POUhkk3Ew7o9RWGhgWTZLqzAIdbYRTOtVulWMspKd1paarOQYmoB1n/GaqjHRfOqgwjAaAz5siDglcBxX96CGwsx2x1N/fnUQLni5or1kDAiykjdNdGaIwgETrHH57l3vaQkP3TZSTedjqPliGg0wYpVCJpraZ1sHlpcQrr4WWbCr5U44bspLrO2XMoUtYmnI5r7E83tNnLkJnDomjOOxLqCo5/T1oFX3CgB7qyIwpd1H+oJg/XrKfvujCW1RbNOgL5SlMWHeca9OJDMkfEdYTnfWWfpNc/59Fz28+RNZDAYPNq4ypf0HtQ7+34CtEPvE2YpFqz75fq7o1i+CK8xa5Tlhc05bVctZkzOaUNW64OM92jF/TY4dRGjPEkAA+HeZeVgUeWSpdKx3J1Lx21hJ7xvDf4HXD1rBUqR3uKWJ4R0vS7vwXSbNyJpUjEicqkdZGnSurr0M6C1vgUNF/e4AKhbYhjbNNcvRtH9sMB8Mczc2Qvtar1r3/OMJznxCBT9wliOyL6+7fuQdAIRLNOoVh95rpI5uyCPphLbaFLPBnD7oUcRoptq0k=
11+
on:
12+
tags: true
13+
repo: flickr/flickr-api-v1

LICENSE

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
Copyright 2016 Yahoo Inc.
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy of
5+
this software and associated documentation files (the "Software"), to deal in
6+
the Software without restriction, including without limitation the rights to
7+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
8+
of the Software, and to permit persons to whom the Software is furnished to do
9+
so, subject to the following conditions:
10+
11+
The above copyright notice and this permission notice shall be included in all
12+
copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20+
SOFTWARE.

Makefile

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
install: .git/hooks/pre-commit
2+
install: .git/hooks/pre-push
3+
4+
.git/hooks/pre-commit: script/hook.sh
5+
cp $< $@
6+
7+
.git/hooks/pre-push: script/hook.sh
8+
cp $< $@

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Flickr API v1 Swagger definition
2+
3+
[![Build Status](https://travis-ci.org/flickr/flickr-api-v1.svg?branch=master)](https://travis-ci.org/flickr/flickr-api-v1)
4+
5+
A subset of [Flickr's API](https://www.flickr.com/services/api/) defined in Swagger format.
6+
7+
Code licensed under the MIT license. See LICENSE file for terms.

index.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('./schema.json');

package.json

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "flickr-api-v1",
3+
"version": "1.0.0",
4+
"description": "Flickr API v1 Swagger definitions",
5+
"main": "index.js",
6+
"scripts": {
7+
"build": "./script/build.sh",
8+
"validate": "./script/validate.sh"
9+
},
10+
"keywords": [
11+
"flickr",
12+
"api",
13+
"sdk"
14+
],
15+
"author": "Jim Whimpey",
16+
"license": "MIT",
17+
"devDependencies": {
18+
"istanbul": "~0.3.20",
19+
"mocha": "~2.3.2",
20+
"js-yaml": "^3.4.2",
21+
"swagger-cli": "1.0.0-beta.2"
22+
}
23+
}

0 commit comments

Comments
 (0)