Comments (5)
Hello @a-know nice looking out. I am using python. I just saw the error after you pointed it out. I was passing TOKEN and USERNAME as strings instead of variables. Sorry for the inconvenience, and thanks for catching the error.
from pixela.
@salimdason
Thank you for reporting.
But, I could not reproduce it. Would you paste the command when you tried to create an account?
from pixela.
Hi @salimdason , thank you for detail.
Are you using Python or something else to run the Pixela API?
I don't know Python well, but the following sections looks bad:
"token": "TOKEN",
TOKEN = "khajbdvahdgy72y8his83"
is variable. So the user_params
must be as follows, right?
๏ผAnd, USERNAME
too.)
user_params = {
"token": TOKEN,
"username": USERNAME,
"agreeTermsOfService": "yes",
"notminor": "yes"
}
Please check this :)
from pixela.
@salimdason
No problem at all. Don't worry about it. I am really glad that your problem is solved! ๐
And, thank you for using Pixela. I hope you continue to enjoy it! :)
from pixela.
Hello @a-know, sure. I've tried using different configurations for the token but still no joy. I've included the code snippet. Thanks for taking a look.
import requests
#Create User Account
USERNAME = 'usernameiused'
TOKEN = "khajbdvahdgy72y8his83"
pixela_endpoint ="https://pixe.la/v1/users"
user_params = {
"token": "TOKEN",
"username": "USERNAME",
"agreeTermsOfService": "yes",
"notminor": "yes"
}
response = requests.post(url=pixela_endpoint, json=user_params)
print(response.text)
{"message":"The token string must be at least 8 characters and not more than 128 letters and numbers or alphanumeric characters or symbols.","isSuccess":false}
from pixela.
Related Issues (20)
- Request to change blog links on wiki HOT 2
- [Request] Get "a" graph definition json HOT 2
- GET - /v1/users/<username>/graphs/<graphID>/graph-def ใฎExampleใ้้ใฃใฆใใ HOT 2
- Typo on front page HOT 1
- Unescaped '<' not allowed in attributes values at GET - /v1/users/<username>/graphs/<graphID> HOT 2
- pixe.la is down for "503 Over Quota" HOT 1
- Pixel details showing data, but colors aren't appearing and Today's value set to 0 HOT 4
- Giving Error 400
- https://pixe.la/v1/users/bgshocker007/graph1.html HOT 3
- Access to hourly data via API HOT 1
- Increment by value higher than 1 / rate limit? HOT 4
- Time Zone HOT 3
- Documentation for timezone name HOT 1
- Where to contrib an Emacs ReSTclient file? HOT 1
- Regarding request rejecting (Pixela v1.25.0) HOT 5
- Pateron Here - Posting Data for more than multiple days at 1 time HOT 8
- 400 Bad Request HOT 1
- POST vs PUT pixel HOT 1
- Cant create graph HOT 4
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 pixela.