Skip to content

Commit

Permalink
Merge branch 'feature/better-code-structure' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Polyneue committed May 27, 2017
2 parents c644188 + 3a81441 commit f0efd3b
Show file tree
Hide file tree
Showing 16 changed files with 344 additions and 299 deletions.
26 changes: 13 additions & 13 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"extends": "airbnb-base",
"env": {
"node": true
},
"plugins": [
"import"
],
"rules": {
"prefer-arrow-callback": "off",
"comma-dangle": "off",
"func-names": ["error", "as-needed"],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true } ]
}
"extends": "airbnb-base",
"env": {
"node": true
},
"plugins": [
"import"
],
"rules": {
"prefer-arrow-callback": "off",
"comma-dangle": "off",
"func-names": ["error", "as-needed"],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true } ]
}
}
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,4 @@ jspm_packages
.node_repl_history

# API Key
api.json

# Example JSON Output File
example/projectsData.json
api.json
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
example/
coverage/
docs/
behance-api-logo.png
33 changes: 11 additions & 22 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
#Change Log
All notable changes to this project will be documented in this file.
# Changelog
> All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.1.3] - 2017-05-02
## 1.1.3 - 2017-05-02
### Changed
* Changed to using airbnb standards

## [1.1.2] - 2017-04-25
## 1.1.2 - 2017-04-25
### Changed
* Added logo to npmignore
* Updated license year
Expand All @@ -16,12 +14,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
* New API documentation
* README now references examples and API docs

## [1.1.1] - 2017-04-19
## 1.1.1 - 2017-04-19
### Changed
* Minor code style updates in readme
* Fix for behane logo not showing on npmjs.com

## [1.1.0] - 2017-04-19
## 1.1.0 - 2017-04-19
### Added
* Linting for coding standards (standardjs)
* Added logo per Behance branding guidelines
Expand All @@ -33,7 +31,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
* team endoints added to readme
* updated travis file to only run on develop or master

## [1.0.0] - 2016-11-16
## 1.0.0 - 2016-11-16
### Added
* Validation for request that use queries.
* Test suite covers 100% of code now.
Expand All @@ -48,29 +46,20 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
* Update to README layout for API information.
* Simplified example js file.

## [0.1.2] - 2016-10-28
## 0.1.2 - 2016-10-28
### Removed
* Removing coverage from npm package.

## [0.1.1] - 2016-10-28
## 0.1.1 - 2016-10-28
### Removed
* Remove example js from npm package.

## [0.1.0] - 2016-10-28
## 0.1.0 - 2016-10-28
### Added
* Wrote initial API functions.
* Updated README with new API usage and examples.
* Set up test suite.

## 0.0.2 - 2016-10-26
### Added
* Initial setup of README, Packages, and License for repo and npm.

[1.1.3]: https://github.com/Polyneue/behance-api/compare/v1.1.3...HEAD
[1.1.2]: https://github.com/Polyneue/behance-api/compare/v1.1.1...v1.1.2
[1.1.1]: https://github.com/Polyneue/behance-api/compare/v1.1.0...v1.1.1
[1.1.0]: https://github.com/Polyneue/behance-api/compare/v1.0.0...v1.1.0
[1.0.0]: https://github.com/Polyneue/behance-api/compare/v0.1.2...v1.0.0
[0.1.2]: https://github.com/Polyneue/behance-api/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/Polyneue/behance-api/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/Polyneue/behance-api/compare/v0.0.2...v0.1.0
* Initial setup of README, Packages, and License for repo and npm.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MIT License
The MIT License (MIT)

Copyright (c) 2016-2017 Ed Mendoza <edmendoza.com>

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Behance = require('behance-api');
const Be = new Behance(API_KEY);

// Get Projects Data
Be.projects({q: 'motorcycle'}, (err, res, data) => {
Be.projects({q: 'motorcycle'}, function (err, res, data) {
if (err) throw err;

// Do something with the data received from the API
Expand All @@ -36,5 +36,5 @@ The snippet above will make a request to the Behance API and receive the first p
## API
For documentation around accessing all of the endpoints, see [API Docs](https://github.com/Polyneue/behance-api/blob/master/docs/API.md)

## Examples
For a working example, see [Example](https://github.com/Polyneue/behance-api/blob/master/example/index.js)
## License
MIT

0 comments on commit f0efd3b

Please sign in to comment.