This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
follow organization on GitHUb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from apiclient.discovery import build | |
from settings import settings | |
f=open("sample.txt","r") | |
for line in f: | |
lang, word = line.strip().split(" ") | |
# Build a service object for interacting with the API. Visit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger": "2.0", | |
"info": { | |
"description": "This is a sample server Petstore server. \n\n[Learn about Swagger](http://swagger.wordnik.com) or join the IRC channel `#swagger` on irc.freenode.net. \n\nFor this sample, you can use the api key `special-key` to test the authorization filters\n", | |
"version": "1.0.0", | |
"title": "Swagger Petstore", | |
"termsOfService": "http://helloreverb.com/terms/", | |
"contact": { | |
"name": "apiteam@wordnik.com" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -H "Content-Type: application/json" -d '{ "username": "test9", | |
"password": "testtest", | |
"email": "test5@sad.com", | |
"firstName": "test", | |
"lastName": "five", | |
"dob": "1980-01-01", | |
"gender": "Female" }' http://localhost:3000/api/v1/register |
OlderNewer