apropos's People
apropos's Issues
Proxies malfunctioning?
Proxies return code 500 when queried via python_client.py with
query(json.loads('{"action": "stocks", "input": {"Stock": "BAC"}, "output": {"Volume": "float"}}'))
note that
query(json.loads('{"action": "stocks", "input": {"stock_symbol": "BAC"}, "output": {"Volume": "float", "Days High" : "string"}}'))
only returns ONE proxy.
Change proxy code to use the input, output fields for querying
Currently, the correct query json format should look like this:
psuedojson
{
"input": {
"zip": 61820
},
"output": {
"temperature": "int"
}
}
The database works with this cause it only needs the keys. But it needs to be send to the actual proxy server and the proxy server should use this
API authentication
Database needs to send API key to client who will need to send the key to the proxies
Finish api_authent and test it
Finish this later. Needs to check for previous terms. If they exist, use
UPDATE statement. Else use select statement
Add more proxies
We need to add a basic set of apis for each category
We need:
Stocks API
Email API
Photoupload API
Definition API
IP-to-Location API
Location-to-IP API
Texting API
Sentiment Analysis API
Translation API
This is a continually growing list. Add to it
Website
Build it
Wisdom of the crowds mode.
In this mode all the apis are surveyed in a parallel manner. A timer runs for X seconds and when its up, all the results currently available are considered. It takes the most common result and returns it.
Reports to analytics the response times of each api and failure rate. Also reports all the groups to the server.
Make proxy only give back the asked for items and in the correct datatypes
Proxy needs to obey the query json. For instance if the json is:
{
"input": {
"zip": 61820
},
"output": {
"temperature": "int"
}
}
It needs to only return the temperature variable as an int.
Add actions to database code
need to add actions to the database so it syncs up with the proxy code. Right now, the proxy code relies on having a action json parameter which is missing from the database code.
HTML and Javascript Embedding
This is a pretty far in the future feature.
Ability to insert and swap out interactive APIs such as google maps, bing maps, google search, bing search, news wires
Instead of just returning simple results in the output that are just numbers or strings, it returns javascript and html which can be run agnostically
For instance
If you dont like using the google maps api, open street maps can be dropped in with a single line change.
Target mode
Accurate mode lets you specify the specific api you want to reference. It always will return that specific api and if the api goes down, it returns none.
This mode's for people who need only one api and who do not want fault tolerance.
Reports response time and failure rate to analytics.
Fast Is Best Mode
Same as wisdom of the crowds except there is no wisdom. Returns the response that arrives first.
Analytics
For now just simple analytics that record the response speed, failure rate, and correlation with the crowd aka accuracy.
JS client needs CORS fixed
When I moved to running multiple proxies under one super proxy, it broke the CORS decorator I was using.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.