Giter Site home page Giter Site logo

ultreme / camembert-au-lait-crew Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 1.0 33.71 MB

:hamburger: Camembert au lait crew website & API

License: MIT License

Go 2.49% Makefile 0.39% Dockerfile 0.03% HTML 63.34% JavaScript 24.75% PHP 0.52% CSS 1.34% CoffeeScript 0.06% Shell 0.02% SCSS 0.43% Less 6.63%

camembert-au-lait-crew's Introduction

calcbiz - Camembert au lait crew's website & API

🍔 Camembert au lait crew website & API

Links

Swagger

swagger.yaml is automatically generated, and linked with Apiary.

Result: https://camembertaulaitcrew.docs.apiary.io/

API Usages (gRPC)

Use gRPC port with .proto files as API definitions

API Usages (HTTP)

SoundCloud (pkg/soundcloud)

Fetch me

http localhost:9000/api/soundcloud/me
HTTP/1.1 200 OK
Content-Length: 690
Content-Type: application/json
Date: Tue, 15 Jan 2019 10:52:22 GMT
Grpc-Metadata-Content-Type: application/grpc
Keep-Alive: timeout=38

{
    "avatar_url": "https://i1.sndcdn.com/avatars-000524030097-1slyvk-large.jpg",
    "city": "Partout",
    "country": "France",
    "description": "Les chips\n\[email protected]",
    "followers_count": "498",
    "followings_count": "187",
    "full_name": "camembert au lait crew",
    "id": "96137699",
    "permalink": "camembert-au-lait-crew",
    "permalink_url": "http://soundcloud.com/camembert-au-lait-crew",
    "playlist_count": "28",
    "public_favorites_count": "259",
    "track_count": "583",
    "uri": "https://api.soundcloud.com/users/96137699",
    "username": "Camembert au lait crew",
    "website": "http://www.camembertaulaitcrew.biz/",
    "website_title": "camembertaulaitcrew.biz"
}

Fetch all playlists/albums/releases

$ http localhost:9000/api/soundcloud/playlists | head -n 5
{
  "playlists": [
    {
      "id": "683036052",
      "created_at": "2019/01/10 23:05:09 +0000",

Fetch a specific playlist/album/release

$ http localhost:9000/api/soundcloud/playlists/678762324 | head -n 5
{
  "id": "678762324",
  "created_at": "2019/01/05 00:31:46 +0000",
  "title": "OGR001",
  "sharing": "public",

Fetch a random playlist/album/release

$ http localhost:9000/api/soundcloud/playlists/0 | head -n 5
{
  "id": "36518144",
  "created_at": "2014/05/25 12:08:15 +0000",
  "title": "Camembert au lait crew - Des Trucs",
  "sharing": "public",

Fetch all tracks

$ http localhost:9000/api/soundcloud/tracks | head -n 5
{
  "tracks": [
    {
      "id": "559269942",
      "CreatedAt": "2019/01/15 06:02:10 +0000",

Fetch a specific track

$ http localhost:9000/api/soundcloud/tracks/475706220 | head -n 5
{
  "id": "475706220",
  "CreatedAt": "2018/07/23 19:10:11 +0000",
  "Title": "Bannalec",
  "Sharing": "public",

Fetch a random track

$ http localhost:9000/api/soundcloud/tracks/0 | head -n 5
{
  "id": "559269885",
  "CreatedAt": "2019/01/15 06:01:58 +0000",
  "Title": "Grand écart (feat. Rouge Gorge)",
  "Sharing": "public",

Call Numberinfo (pkg/numberinfo)

$ http localhost:9000/api/numberinfo/1337
HTTP/1.1 200 OK
Content-Length: 100
Content-Type: application/json
Date: Tue, 15 Jan 2019 10:46:55 GMT
Grpc-Metadata-Content-Type: application/grpc
Keep-Alive: timeout=38

{
    "facts": {
        "is-prime": "false",
        "number": "1337",
        "sqrt": "36.565010597564445"
    }
}

Call Ping

$ http :9000/api/ping
HTTP/1.1 200 OK
Content-Length: 20
Content-Type: application/json
Date: Tue, 15 Jan 2019 10:50:10 GMT
Grpc-Metadata-Content-Type: application/grpc
Keep-Alive: timeout=38

{
    "pong": "pong"
}

Call Crew

$ http :9000/api/crew | head -n 5
{
  "name": "Camembert au lait crew",
  "website": "http://www.camembertaulaitcrew.biz",
  "members": [
    {

Call WOTD

$ http localhost:9000/api/wotd
HTTP/1.1 200 OK
Content-Length: 22
Content-Type: application/json
Date: Tue, 15 Jan 2019 10:51:05 GMT
Grpc-Metadata-Content-Type: application/grpc
Keep-Alive: timeout=38

{
    "word": "cancun"
}

Call Alternate Logo

$ http localhost:9000/api/alternate-logo
HTTP/1.1 200 OK
Content-Length: 88
Content-Type: application/json
Date: Tue, 15 Jan 2019 10:51:30 GMT
Grpc-Metadata-Content-Type: application/grpc
Keep-Alive: timeout=38

{
    "path": "https://camembertaulaitcrew.github.io/assets/logo-alternate-300/trim.jpg"
}

camembert-au-lait-crew's People

Contributors

moul avatar

Stargazers

Luckachka avatar Fabien Le Frapper avatar Thomas Fenot avatar SuDoMy avatar moul's sudo account avatar Sassou avatar  avatar Maxime Louet avatar Sacha Froment avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

sudomi

camembert-au-lait-crew's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm grunt-jscs-checker Unavailable
npm time-grunt Unavailable

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

  • fix(deps): update module github.com/gogo/protobuf to v1.3.2 [security]
  • fix(deps): update module google.golang.org/grpc to v1.56.3 [security]
  • chore(deps): update dependency grunt to v1 [security]
  • chore(deps): update all (alpine, btoa, github.com/go-chi/chi, github.com/gobuffalo/packd, github.com/golang/protobuf, github.com/googollee/go-socket.io, github.com/gorilla/mux, github.com/grpc-ecosystem/go-grpc-middleware, github.com/grpc-ecosystem/grpc-gateway, github.com/jinzhu/gorm, github.com/pkg/errors, github.com/rs/cors, github.com/tdewolff/minify/v2, github.com/tmc/grpc-websocket-proxy, github.com/urfave/cli, glob, go.uber.org/zap, golang, google.golang.org/genproto, gotools, grunt-autoprefixer, grunt-banner, grunt-contrib-clean, grunt-contrib-concat, grunt-contrib-connect, grunt-contrib-copy, grunt-contrib-csslint, grunt-contrib-cssmin, grunt-contrib-jade, grunt-contrib-jshint, grunt-contrib-less, grunt-contrib-qunit, grunt-contrib-uglify, grunt-jscs-checker, grunt-saucelabs, moul, moul.io/godev, moul.io/srand, node, time-grunt)
  • chore(deps): update all (major) (codfish/semantic-release-action, github.com/go-chi/chi, github.com/gobuffalo/packd, github.com/gobuffalo/packr, github.com/grpc-ecosystem/go-grpc-middleware, github.com/grpc-ecosystem/grpc-gateway, github.com/urfave/cli, glob, grunt-autoprefixer, grunt-cli, grunt-contrib-clean, grunt-contrib-concat, grunt-contrib-connect, grunt-contrib-copy, grunt-contrib-csslint, grunt-contrib-cssmin, grunt-contrib-jade, grunt-contrib-jshint, grunt-contrib-less, grunt-contrib-qunit, grunt-contrib-uglify, grunt-contrib-watch, grunt-csscomb, grunt-exec, grunt-jekyll, grunt-saucelabs, load-grunt-tasks, moul.io/zapgorm, node, npm-shrinkwrap, pathwar/protoc, time-grunt)
  • Click on this checkbox to rebase all open PRs at once

Detected dependencies

circleci
.circleci/config.yml
  • moul 1.13.0
  • retry 0.6.0
  • gotools 0.0.10
  • pathwar/protoc 4
docker-compose
docker-compose.yml
dockerfile
Dockerfile
  • golang 1.19-alpine
  • alpine 3.13
github-actions
.github/workflows/release.yml
  • codfish/semantic-release-action v1
gomod
go.mod
  • github.com/Masterminds/sprig v2.22.0+incompatible
  • github.com/disintegration/imaging v1.6.2
  • github.com/go-chi/chi v4.0.2+incompatible
  • github.com/gobuffalo/packd v0.3.0
  • github.com/gobuffalo/packr v1.30.1
  • github.com/gogo/gateway v1.1.0
  • github.com/gogo/protobuf v1.3.1
  • github.com/golang/protobuf v1.3.2
  • github.com/googollee/go-engine.io v1.4.2
  • github.com/googollee/go-socket.io v1.4.3-0.20191204093753-683f8725b6d0@683f8725b6d0
  • github.com/gorilla/mux v1.7.3
  • github.com/grpc-ecosystem/go-grpc-middleware v1.1.0
  • github.com/grpc-ecosystem/grpc-gateway v1.12.1
  • github.com/jinzhu/gorm v1.9.11
  • github.com/moul/numberinfo v0.0.0-20160903151149-753f372df509@753f372df509
  • github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c@03653db5a59c
  • github.com/pkg/errors v0.8.1
  • github.com/rs/cors v1.7.0
  • github.com/shazow/memoizer v0.0.0-20130904030615-74fc48eaeadc@74fc48eaeadc
  • github.com/tdewolff/minify/v2 v2.6.1
  • github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5@0ad062ec5ee5
  • github.com/tpyolang/tpyo-cli v1.0.0
  • github.com/treastech/logger v0.0.0-20180705232552-e381e9ecf2e3@e381e9ecf2e3
  • github.com/urfave/cli v1.22.2
  • github.com/yanatan16/golang-soundcloud v0.0.0-20161013200625-a182dd459b66@a182dd459b66
  • go.uber.org/zap v1.13.0
  • google.golang.org/genproto v0.0.0-20191206224255-0243a4be9c8f@0243a4be9c8f
  • google.golang.org/grpc v1.25.1
  • moul.io/godev v1.3.0
  • moul.io/srand v1.4.0
  • moul.io/zapgorm v0.0.0-20190706070406-8138918b527b@8138918b527b
  • ultre.me/kryptos v0.0.0-20181023194748-240fe1a16033@240fe1a16033
  • ultre.me/recettator v0.4.1-0.20190210231503-241df3a046a3@241df3a046a3
  • go 1.13
npm
static/components/bootstrap/package.json
  • btoa ~1.1.2
  • glob ~4.0.2
  • grunt ~0.4.5
  • grunt-autoprefixer ~0.7.6
  • grunt-banner ~0.2.3
  • grunt-contrib-clean ~0.5.0
  • grunt-contrib-concat ~0.4.0
  • grunt-contrib-connect ~0.8.0
  • grunt-contrib-copy ~0.5.0
  • grunt-contrib-csslint ~0.2.0
  • grunt-contrib-cssmin ~0.10.0
  • grunt-contrib-jade ~0.12.0
  • grunt-contrib-jshint ~0.10.0
  • grunt-contrib-less ~0.11.3
  • grunt-contrib-qunit ~0.5.1
  • grunt-contrib-uglify ~0.5.0
  • grunt-contrib-watch ~0.6.1
  • grunt-csscomb ~2.0.1
  • grunt-exec ~0.4.5
  • grunt-html-validation ~0.1.18
  • grunt-jekyll ~0.4.2
  • grunt-jscs-checker ~0.6.0
  • grunt-saucelabs ~8.1.0
  • grunt-sed ~0.1.1
  • load-grunt-tasks ~0.6.0
  • markdown ~0.5.0
  • npm-shrinkwrap ~3.1.6
  • time-grunt ~0.3.2
  • node ~0.10.1
static/components/cornify/package.json
static/components/html5shiv/package.json
  • grunt-bytesize >=0.1.0
  • grunt-contrib-watch >=0.3.0
  • grunt-contrib-copy >=0.4.0
  • grunt-contrib-uglify >=0.2.7
  • grunt >=0.4.1
static/components/konami-js/package.json
static/components/respond/package.json
  • grunt-cli ~0.1
  • grunt ~0.4.0
  • grunt-contrib-jshint ~0.2.0
  • grunt-contrib-qunit ~0.3.0
  • grunt-contrib-uglify 0.2.7

  • Check this box to trigger a request for Renovate to run again on this repository

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.