<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
from __future__ import absolute_import, division, print_function | |
import requests | |
from bs4 import BeautifulSoup as bs | |
import nltk | |
def scrape_page(url): | |
""" | |
Input: url | |
Output: title, text, top image and its caption. |
import { Component } from '@angular/core'; | |
import { NavController, NavParams } from 'ionic-angular'; | |
import { NewsApi } from '../../providers/news-api'; | |
import { Info } from '../../models/information'; | |
/* | |
Generated class for the Content page. |
# -*- coding: utf-8 -*- | |
from flask import Flask, request, render_template, current_app | |
from flask_wtf import Form | |
from wtforms.validators import DataRequired | |
from wtforms import SelectField, SelectMultipleField, SubmitField | |
app = Flask(__name__) |
import os | |
from flask import Flask, render_template, request | |
import stripe | |
stripe_keys = { | |
'secret_key': os.environ['SECRET_KEY'], | |
'publishable_key': os.environ['PUBLISHABLE_KEY'] | |
} | |
stripe.api_key = stripe_keys['secret_key'] |
import React, { Component } from 'react'; | |
import axios from 'axios'; | |
class App extends Component { | |
state = { | |
coins: null, | |
stocks: null, | |
funds: null, |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
<style> | |
.reset-element { |
license: mit | |
height: 600 |
#!/usr/bin/python | |
import os | |
import subprocess | |
import time | |
import yaml | |
import re | |
user_name = os.environ.get("DOCKERHUB_USER") |
import boto3 | |
import os | |
import requests | |
from botocore.auth import SigV4Auth | |
from requests_aws4auth import AWS4Auth | |
from elasticsearch import RequestsHttpConnection | |
class AWSRequestsHttpConnection(RequestsHttpConnection): |