semrush-api-client 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# semrush-api
|
|
1
|
+
# semrush-api-client
|
|
2
2
|
|
|
3
3
|
A Node.js/TypeScript client for accessing the SEMrush API easily.
|
|
4
4
|
|
|
@@ -35,25 +35,6 @@ client.getPhrase({ phrase: "apple" }).then((data) => {
|
|
|
35
35
|
});
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
## API Methods
|
|
39
|
-
|
|
40
|
-
### `getDomainRank(options)`
|
|
41
|
-
|
|
42
|
-
Fetches ranking information for a specified domain.
|
|
43
|
-
|
|
44
|
-
- `domain` (string): Target domain
|
|
45
|
-
- `export_columns` (string[], optional): Columns to retrieve
|
|
46
|
-
- `database` (string, optional): Database (country code)
|
|
47
|
-
- `display_limit` (number, optional): Number of results
|
|
48
|
-
|
|
49
|
-
### `getPhrase(options)`
|
|
50
|
-
|
|
51
|
-
Fetches information for a specified keyword.
|
|
52
|
-
|
|
53
|
-
- `phrase` (string): Keyword
|
|
54
|
-
- `export_columns` (string[], optional): Columns to retrieve
|
|
55
|
-
- `database` (string, optional): Database (country code)
|
|
56
|
-
|
|
57
38
|
## Contributing
|
|
58
39
|
|
|
59
40
|
Contributions are welcome! Feel free to open issues or submit pull requests to improve this project.
|