i will write more in-depth after i get further along, but i'm creating a javascript file that can hit all of the DeSo backend API endpoints that do not require a login.
i won't use many of them but, i'm doing it for some of the API calls, why not all of them that require just the public key and nothing else.
i'll make all the code available when i'm done! any devs that want to critique this code, feel free, i would like to hear it. but this is very little that is shown, just a quick photo! once i make a github repo i'll let you tear me apart
yeah i had looked at it, i have it, i'll take another look at it but i am doing this in a tumblr site so i wasn't sure with the dependencies if i could make it work.
what i'm building now is quick and simple, just JS with jQuery (the Tumblr theme uses it and for now I am just going to roll with it) and then I grabbed fetch.js.
I've just about got all the API calls done, then it's just a matter of converting that JSON into somethin pretty!
Likes:
1
Diamonds:
1
Reposts:
0
Quote Reposts:
0
{PostHashHex: "b48e51eaf0e9f8d0f344d4d653befe8ce0c952881c4db1f47bf95cff19cf7d83",PosterPublicKeyBase58Check: "BC1YLgbCAxYSSn97DArZtbwwhVUtHtjUfGZzKojLBKfxP8wbRHvb2Gz",ParentStakeID: "",Body: "i will write more in-depth after i get further along, but i'm creating a javascript file that can hit all of the DeSo backend API endpoints that do not require a login. \n\ni won't use many of them but, i'm doing it for some of the API calls, why not all of them that require just the public key and nothing else.\n\ni'll make all the code available when i'm done! any devs that want to critique this code, feel free, i would like to hear it. but this is very little that is shown, just a quick photo! once i make a github repo i'll let you tear me apart ",ImageURLs: ["https://images.deso.org/5ac543d5a73219e597b74607cc8e95ba4bd872f353dfd52b5b6da2f3fbcf4039.webp"],VideoURLs: null,RepostedPostEntryResponse: null,CreatorBasisPoints: 1000,StakeMultipleBasisPoints: 12500,TimestampNanos: 1640783902626765000,IsHidden: false,ConfirmationBlockHeight: 90849,InMempool: false,ProfileEntryResponse: {Username: "kitty4d"},Comments: null,LikeCount: 15,DiamondCount: 10,PostEntryReaderState: null,InGlobalFeed: false,InHotFeed: false,IsPinned: false,PostExtraData: {},CommentCount: 2,RepostCount: 0,QuoteRepostCount: 1,ParentPosts: null,IsNFT: false,NumNFTCopies: 0,NumNFTCopiesForSale: 0,NumNFTCopiesBurned: 0,HasUnlockable: false,NFTRoyaltyToCreatorBasisPoints: 0,NFTRoyaltyToCoinBasisPoints: 0,AdditionalDESORoyaltiesMap: {},AdditionalCoinRoyaltiesMap: {},DiamondsFromSender: 0,HotnessScore: 0,PostMultiplier: 0,RecloutCount: 0,QuoteRecloutCount: 1,RecloutedPostEntryResponse: null}
[{PostHashHex: "3c48dacabf22d76d1e750e52af87277197f34938d579e38fa65e13df303307d0",PosterPublicKeyBase58Check: "BC1YLjAijLsMRvqNjhHXNW2574MzoCV788wxqRP6x6qzi7vqGHGK3ce",ParentStakeID: "b48e51eaf0e9f8d0f344d4d653befe8ce0c952881c4db1f47bf95cff19cf7d83",Body: "Heads up: https://npmjs.com/package/deso.js\n\nContributions welcome! https://github.com/bitclouthunt/deso.js",ImageURLs: null,VideoURLs: null,RepostedPostEntryResponse: null,CreatorBasisPoints: 1000,StakeMultipleBasisPoints: 12500,TimestampNanos: 1640816797812385800,IsHidden: false,ConfirmationBlockHeight: 90945,InMempool: false,ProfileEntryResponse: {PublicKeyBase58Check: "BC1YLjAijLsMRvqNjhHXNW2574MzoCV788wxqRP6x6qzi7vqGHGK3ce",Username: "paulburke",Description: "Developer - paulburke.co\n\n🧑💻 @plus | @DesogenApp | @overridentity | @RecoverSeed",IsHidden: false,IsReserved: false,IsVerified: true,Comments: null,Posts: null,CoinEntry: {CreatorBasisPoints: 1000,DeSoLockedNanos: 25213814889,NumberOfHolders: 291,CoinsInCirculationNanos: 29225653763,CoinWatermarkNanos: 52536553109,BitCloutLockedNanos: 25213814889},DAOCoinEntry: {NumberOfHolders: 0,CoinsInCirculationNanos: "0x0",MintingDisabled: false,TransferRestrictionStatus: "unrestricted"},CoinPriceDeSoNanos: 2588186832,CoinPriceBitCloutNanos: 2588186832,UsersThatHODL: null,IsFeaturedTutorialWellKnownCreator: false,IsFeaturedTutorialUpAndComingCreator: false,ExtraData: null},Comments: null,LikeCount: 1,DiamondCount: 1,PostEntryReaderState: {LikedByReader: true,DiamondLevelBestowed: 1,RepostedByReader: false,RepostPostHashHex: ""},IsPinned: false,PostExtraData: {Node: "1"},CommentCount: 1,RepostCount: 0,QuoteRepostCount: 0,ParentPosts: null,IsNFT: false,NumNFTCopies: 0,NumNFTCopiesForSale: 0,NumNFTCopiesBurned: 0,HasUnlockable: false,NFTRoyaltyToCreatorBasisPoints: 0,NFTRoyaltyToCoinBasisPoints: 0,AdditionalDESORoyaltiesMap: {},AdditionalCoinRoyaltiesMap: {},DiamondsFromSender: 0,HotnessScore: 0,PostMultiplier: 0,RecloutCount: 0,QuoteRecloutCount: 0,RecloutedPostEntryResponse: null,Depth: 0},{PostHashHex: "21755136eec6993aafd5a5e01ba2d8ac538743e380b9b19eac0f16a62e20d899",PosterPublicKeyBase58Check: "BC1YLgbCAxYSSn97DArZtbwwhVUtHtjUfGZzKojLBKfxP8wbRHvb2Gz",ParentStakeID: "3c48dacabf22d76d1e750e52af87277197f34938d579e38fa65e13df303307d0",Body: "yeah i had looked at it, i have it, i'll take another look at it but i am doing this in a tumblr site so i wasn't sure with the dependencies if i could make it work.\n\nwhat i'm building now is quick and simple, just JS with jQuery (the Tumblr theme uses it and for now I am just going to roll with it) and then I grabbed fetch.js.\n\nI've just about got all the API calls done, then it's just a matter of converting that JSON into somethin pretty!",ImageURLs: null,VideoURLs: null,RepostedPostEntryResponse: null,CreatorBasisPoints: 1000,StakeMultipleBasisPoints: 12500,TimestampNanos: 1640818371152801300,IsHidden: false,ConfirmationBlockHeight: 90951,InMempool: false,ProfileEntryResponse: {PublicKeyBase58Check: "BC1YLgbCAxYSSn97DArZtbwwhVUtHtjUfGZzKojLBKfxP8wbRHvb2Gz",Username: "kitty4D",Description: "I make fun images, \nwrite strange stories about my cats, \ngive funky comments. ^^ \n\nfounded 2021-11-13\n\n~i am verified~ at many sites but don't worry about it. just check out my own website, https://kitty.fourdown.org\n\ni am a developer, i have two websites that i created with @4down - https://www.fourdown.org [for developers primarily, has information about API endpoints not covered in the docs + more] and the aforementioned https://kitty.fourdown.org - but at the moment they're kinda on hold since there's little dev support here, so i'm working on DeFi projects now on Ethereum~",IsHidden: false,IsReserved: false,IsVerified: false,Comments: null,Posts: null,CoinEntry: {CreatorBasisPoints: 2169,DeSoLockedNanos: 17076138394,NumberOfHolders: 46,CoinsInCirculationNanos: 25042454952,CoinWatermarkNanos: 28101520468,BitCloutLockedNanos: 17076138394},DAOCoinEntry: {NumberOfHolders: 0,CoinsInCirculationNanos: "0x0",MintingDisabled: false,TransferRestrictionStatus: "unrestricted"},CoinPriceDeSoNanos: 2045662871,CoinPriceBitCloutNanos: 2045662871,UsersThatHODL: null,IsFeaturedTutorialWellKnownCreator: false,IsFeaturedTutorialUpAndComingCreator: false,ExtraData: null},Comments: null,LikeCount: 1,DiamondCount: 1,PostEntryReaderState: {LikedByReader: false,DiamondLevelBestowed: 0,RepostedByReader: false,RepostPostHashHex: ""},IsPinned: false,PostExtraData: {},CommentCount: 0,RepostCount: 0,QuoteRepostCount: 0,ParentPosts: null,IsNFT: false,NumNFTCopies: 0,NumNFTCopiesForSale: 0,NumNFTCopiesBurned: 0,HasUnlockable: false,NFTRoyaltyToCreatorBasisPoints: 0,NFTRoyaltyToCoinBasisPoints: 0,AdditionalDESORoyaltiesMap: {},AdditionalCoinRoyaltiesMap: {},DiamondsFromSender: 0,HotnessScore: 0,PostMultiplier: 0,RecloutCount: 0,QuoteRecloutCount: 0,RecloutedPostEntryResponse: null,Depth: 1}]
DAODAO launches at the end of March 2022! Make sure to visit the Discord @ discord.gg/daodao to discover the key.
(DAO, DAO) @ daodao.io is the true daodao platform, launching on the DESO blockchain (but any cryptocurrencies - well, a lot of them, at least, are accepted). If you want early access and it's still March 2022, you can do it. Why not? You don't want to miss out, I'm sure. Show everyone why you're the top dog of the block. ~THiS iS NoT FinANcIAL aDViCE~