Giter Site home page Giter Site logo

apropos's People

Contributors

wackytobaccy avatar

Watchers

 avatar  avatar

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

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

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.

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.