Name | Type | Description | Required/Default |
---|---|---|---|
q | `string | string[]` | Keywords or a phrase to search for. |
This file contains hidden or 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
type Query { | |
everything(q: String!, options: EverythingInput): ArticleResponse | |
topHeadlines(q: String!, options: HeadlineInput): ArticleResponse | |
sources(options: SourceInput!): SourceResponse | |
temp__: Boolean | |
} |
This file contains hidden or 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
enum SortBy { | |
relevancy | |
popularity | |
publishedAt | |
} | |
enum Category { | |
all | |
business | |
entertainment |
This file contains hidden or 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
input EverythingInput { | |
sources: [String] | |
domains: [String] | |
excludeDomains: [String] | |
from: Date | |
to: Date | |
language: Language | |
sortBy: SortBy | |
pageSize: Int! | |
page: Int! |
This file contains hidden or 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
type Article { | |
source: Source | |
author: String | |
title: String | |
description: String | |
url: String | |
urlToImage: String | |
publishedAt: Date | |
content: String | |
} |
This file contains hidden or 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
enum SortBy { | |
relevancy | |
popularity | |
publishedAt | |
} | |
enum Category { | |
all | |
business | |
entertainment |
This file contains hidden or 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
const puppeteer = require('puppeteer'); | |
function pageLoaded(page) { | |
return new Promise(async resolve => { | |
await page.exposeFunction('__puppeteer__', () => { | |
if (resolve) { | |
resolve(); | |
} | |
}); |
This file contains hidden or 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
<div class="gradients"> | |
<div class="gradient-7"> | |
<div class="content"> | |
<div class="title"> | |
<h1>Congrats on getting the audition!</h1></div> | |
<div class="image"> <img src="https://cdn2.iconfinder.com/data/icons/circle-icons-1/64/clapboard-256.png"/><br/></div> | |
<div class="bottom"><p> | |
We've put together a few tips to help you get that role using our app! | |
</p></div> | |
</div> |
Just trying out a layout for the items on my portfolio website.
A Pen by Raj K Singh on CodePen.