Comments (7)
Works like a charm, thank you so much!
from elevenlabs-api.
I'll take a look later today.. If it's not working correctly, they may have paginated the history list via the API. I will have to check it out.
from elevenlabs-api.
Apparently, History.getHistoryItems only returns the last 100 items.
I just implemented pagination, could you give me permission to create a branch and push to it?
Or how does that work? :)
Also: getLastHistoryItemID actually gives the ID of the last item from the current pagination, to use as the offset for future requests.
from elevenlabs-api.
Yup, all good. I just released an update of the library (2.7.8) which includes pagination + new builders for S2S / T2S.. Going forward, you can make a pull request.. I think if you clone the repo locally, you can make PR to this repo and I can review / approve.
Check this: https://stackoverflow.com/questions/14906187/how-to-submit-a-pull-request-from-a-cloned-repo
Also, let me know if you're able to see 2.7.8 and if it works for your use case.
New pagination docs:
History history = History.get(); // the latest history object
Optional<History> hist = Optional.of(history);
List<HistoryItem> items = new ArrayList();
do {
items.addAll(hist.get().getHistoryItems());
hist = hist.get().next();
} while(hist.isPresent() && hist.hasMore());
from elevenlabs-api.
Having issues actually deploying to Maven Central, they're having some serious delays. Will let you know when 2.7.8 is available
from elevenlabs-api.
@Dustinhoefer Ok, 2.7.8 should be released and ready for use. Not sure what was up at Maven Central yesterday, but I could not get a version to deploy.
from elevenlabs-api.
No problem, glad you're enjoying! Have fun
from elevenlabs-api.
Related Issues (13)
- Unsupported payload value type for speech to speech endpoints
- Is there a way to get the url of the generated audio instead of the actual file HOT 6
- Getting error code 400 in /v1/speech-to-speech API from android for new added voice HOT 1
- Multiple API Keys HOT 4
- Websocket API
- Problem with requests in PCM_16000
- Generate and GenerateStream take about the same time
- You should use Java8 because it is more widely used HOT 2
- IntelliJ CANNOT FIND Dependency HOT 3
- Server returned HTTP response code: 401 for URL HOT 1
- Resources for elevenlabs-api are not found in the maven repository HOT 3
- Voice ID not found (Elevenlabs API) HOT 1
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 elevenlabs-api.