# twwk

> A simple API to manipulate twitter requests Oauth 1.0a through twurl.

Latest version **2.0.0** (published 2021-03-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install twwk
pnpm add twwk
yarn add twwk
bun add twwk
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2021-03-29 |
| First published | 2021-03-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Fernando |
| Maintainers | fernando-gap |
| Keywords | twitter, Oauth-1.0a, simple, cli |

## Links

- npm: https://www.npmjs.com/package/twwk
- npm.io page: https://npm.io/package/twwk

## Alternatives

- [@clerk/clerk-expo](https://npm.io/package/@clerk/clerk-expo.md) — 133.6K weekly downloads
- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@oxyhq/services](https://npm.io/package/@oxyhq/services.md) — 2.3K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2021-03-29
- 1.1.0 — 2021-03-27
- 1.0.1 — 2021-03-27
- 1.0.0 — 2021-03-27

## README

# Twwk

This tool is for who wants to use the twitter api with Oauth 1.0a easily using node.js.
You need your access keys, and the whole thing is made by twurl :)
This tool is made upon promises, because promises are awesome. Enjoy.

## Installing

To install and use properly you must install twurl first:
- Ruby >2.7

```sh
gem install twurl && sudo cp /usr/local/twurl $PWD/
```

Just set your consumer keys to start to use:

```sh
twurl authorize  --consumer-key <key> \ 
--consumer-secret <key-secret>
```

## Getting Start

```javascript
const twitt = require('twwk');

(async () => {
	const request = await twitt({
		method: 'GET',
		path: '/1.1/search/tweets.json?q=twurl',
		host: 'api.twitter.com' // default
	} /* you can put the host here too */);
	
	const { stdout: json } = request;
	console.log(json);
})();

```

You can choose any path, any host, and the methods that you want.

---
_Source: https://npm.io/package/twwk · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
