Comments (17)
Hey @Ayresia , could you possibly explain your issue here? That way if others have the same problem, they'll be able to use the answer from here. Thanks!
from hqt.
I don't know how to setup this up at all. I don't know how to get the keys and where to put them, can you do an video tutorial or come on share screen discord?
from hqt.
Before you can use this, you'll need to set up your own Google Custom Search, and a Google Custom Search API Key. That information is found in the readme, and is labelled as "Prerequisites"
All you need to do is go to Google Custom Search, and create your own search engine. Make sure you set it to "Search the entire web but emphasize included sites", so that it searches for everything. Under "Details" your Search Engine ID can be found, where there will be a button that reveals it.
Then, you need to get yourself an API key. via the JSON API. Select or create a project, and generate your key.
Copy both of those int your .env
file, like so:
GOOGLE_KEY=YOUR KEY HERE
GOOGLE_ENGINE_ID=YOUR ID HERE
BEARER_TOKEN=YOUR BEARER TOKEN HERE
You'll also need your bearer token, which you will need to intercept from the HQTrivia socket connection.
from hqt.
What sites do we have to add?
Sites to add?
In The Google Custom Search.
from hqt.
If you enter any url (eg. github.com) afterward, enter the control panel for your new search and change the "sites to search" option and delete the URL you added.
from hqt.
How can i get the bearer key, can i use an emulator inorder to get it?
from hqt.
You'll need to sniff your network traffic on your mobile device, so that you can intercept data being sent to it. The bearer token is sent from their API once you have opened the app.
from hqt.
How can i sniff the network traffic with Android 7.0, i know you have to use charlie but is that possible?
from hqt.
As far as I'm aware, you won't be able to use Charlie for Android 7+. But please give it a go and report back!
from hqt.
What do i have to name the .env and where should i put it
from hqt.
The file should literally be called .env
, and needs to be in the root of your project.
from hqt.
There is nothing.
from hqt.
The touch.env i created it.
from hqt.
Rename touch.env
to .env
from hqt.
I cant, i can only rename it to env.env
from hqt.
In your terminal, type touch .env
, which will create the environment variables file. Inside that place your variables and delete your touch.env
file.
from hqt.
Done.
from hqt.
Related Issues (5)
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.
from hqt.