
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
github.com/mohamedattahri/enigma
Enigma.io lets you quickly search and analyze billions of public records published by governments, companies and organizations.
Enigma is a simple go client for the enigma.io API.
Full documentation and examples are available in the godoc package index
package main
import (
enigma "github.com/mohamedattahri/enigma"
)
func main() {
client := enigma.NewClient("some_api_key")
}
response, err := client.Meta().Parent("us.gov.whitehouse")
if err != nil {
fmt.Println(err)
return
}
fmt.Println(response.Info.ChildrenTablesTotal)
response, err := client.Meta().Table("us.gov.whitehouse.visitor-list")
if err != nil {
fmt.Println(err)
return
}
fmt.Println(response.Result.DbBoundaryLabel)
response, err := client.Data("us.gov.whitehouse.visitor-list").Select("namefull", "appt_made_date").Sort("namefirst", enigma.Desc).Results()
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(response.Result))
response, err := client.Stats("us.gov.whitehouse.visitor-list", "total_people").Operation(enigma.Sum).Results()
if err != nil {
fmt.Println(err)
return
}
var obj map[string]string
json.Unmarshal(response.Result, &obj)
fmt.Println(obj["sum"])
url, err := client.Export("us.gov.whitehouse.visitor-list").FileURL(nil)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(url)
More tests.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.