Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Use this tag to POST, or announce, libraries which provide access to the Stack Exchange API and/or Stack exchange sites. The body of the question will give usage examples, as well as source and licensing details. For *general* questions use the [libraries] tag instead. For questions about a specific library, post an "answer" to that library's "question" announcement.
2
votes
1
answer
70
views
Helper module for SE API for Nushell
The library itself is short and included in the first answer. Usage is documented here.
Note: Backoff support is built in. …
1
vote
Helper module for SE API for Nushell
seAPI/mod.nu:
def rootEndpoint [ ] {
let key = (
if 'STACK_API_KEY' in $env {
$env.STACK_API_KEY
} else {
""
}
)
{
scheme: "https", …
5
votes
1
answer
281
views
Calling SE APIs with Nushell (basic overview)
While I still prefer a more "traditional" shell for day-to-day use, I'm finding Nushell's structured data capabilities to be a fantastic companion to the SE API (among others). It's been months since …
1
vote
Calling SE APIs with Nushell (basic overview)
An example of handling results with multiple pages (taken from my Stack Overflow answer - Refer to that answer for the full explanation):
mut questions = []
for page in 1.. {
print $"Retrieving page …