bmeyer99 / api_json_to_file Goto Github PK
View Code? Open in Web Editor NEWPulls from a enSilo API with basic authentication saves JSON output as a file
Pulls from a enSilo API with basic authentication saves JSON output as a file
Not only do the events needs to be tracked, thinking sqlite, we need to figure out if an event has been updated with a new item, thinking may need to hash the events when they come in and if we pull again we can check against the hash to see if it changed.
This will be helpful if using the "LastSeen" field to understand if it is later than the previous "LastSeen"
pull events based on last pull
if eventId is already known
if lastSeen is later than previous lastSeen
Pull new events with all data
If RawId matches existing
Move onto next
else save rawId file
replace old events file with new data
else pull as normal
Need to refresh organizations list to pull from all organizations if user has chosen "all" organizations, needs to be during event pull, if all is chosen then update organization list to loop through
Convert JSON to XML and save into file
When you run another pull from a different organization it uses the timestamp of the previous scan
Password is retrieved from user at start, need to store safely in memory for subsequent runs
Need option to pull events for all organizations
We can pull the general events at this point. There are raw events, with raw event IDs, that make up the general events.
How are they related, one to many? Many to many?
How does this need to be stored?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.