Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Search the Community

Showing results for tags 'api'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Forum
    • News and Announcements
    • Getting Started With Squarespace
    • Coding and Customization
    • Commerce
    • Feedback on Your Site
    • Images and Videos
    • Pages and Content
    • SEO and Marketing
    • Site Design and Styles
  • Colorado Designers's Topics
  • Squarespace Forum Club Guidelines's Topics
  • Austin, TX Designers's Club Discussion
  • New York City Designers's Club Discussion
  • Berlin Designers's Club Discussion
  • SEO Experts's Club Discussion
  • Photographers's Club Discussion
  • Graphic Designers's Topics
  • London Designers's Topics
  • Podcasters's Club Discussion
  • Custom Coding Help's Club Discussion
  • Atlanta, GA Designers's Topics
  • Seattle, WA Designers's Topics
  • San Diego, CA Designers's Topics
  • Dallas, TX Designers's Topics
  • Australia Designers's Club Discussion
  • Minnesota Designers's Topics
  • Minnesota Designers's Topics
  • Copywriters's Topics
  • France Designers 🇫🇷's Topics
  • France Designers 🇫🇷's Topics
  • Portland, OR Designers's Topics
  • Canadian Website Designers's Club Discussion
  • Los Angeles Designers & Devs's Club Discussion
  • South African Designers's Club Discussion
  • Brazil Designers's Club Discussion
  • Developers's Club Discussion

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Website


Location

Found 44 results

  1. Site URL: https://dragonfly-fennel-r5xx.squarespace.com/config/ Hi I'm brand new to squarespace and trying to edit my wife's website. I'm a developer and editing 7.1 is a huge pain. The main reason is that I cannot simply add custom classes and ids. I've written scripts and included them in the footer to inject classes and ids but a better solution would be to be able to do this via an api. Would it be possible to inject scripts in my website via the api instead of the editor panel? Thank you.
  2. I would like to make a fetch request from my squarespace site to a weather data provider. The code works fine when I write it into a code block directly on the page. My issue is that the code contains an API key that I want to keep secure, yet accessible. My strategy to keep this "simple" was to use the method described in this article to upload my file that runs the script which uses the API key, and then reference that file using <script src="/s/javascriptfile.js"></script> The biggest question is whether storing an API key in an uploaded file linked on a disabled page and then referencing that file is a secure way to access the API key without showing it to the world. The next question is do I really need to wait overnight for the references to uploaded files to work? That is one of the problems noted in the same article. Thanks!
  3. Hi there, Has anyone found a good 'world clock' plugin in the past? I am wanting to display office times on their respectives pages based on the city/county they are in - see attached an example of what I am wanting it to look like. Thanks, Sam
  4. I would like to calculate number of trees to be planted per transaction and POST to https://offset.earth/ API. Would also like to show to customers in the order confirmation how many trees they planted for this transaction. would anyone know how to achieve this in squarespace? Thanks in advance
  5. Site URL: https://whitecalmvirtual.squarespace.com/ Can JSON API integration work with SS? https://api-docs.disciplemedia.com/#customer-sso { "users": [ { "id": 9, "email": "oberbrunner1wesmr@kleinratke.io", "display_name": "Mr. Wes Oberbrunner1", "last_active_at": "2019-02-26T12:59:27.887173Z", "created_at": "2019-02-26T12:59:27.886013Z", "last_platform": "ios", "avatar": { "url": "https://disciple-development.s3.eu-west-1.amazonaws.com/test/test1.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJMMN5US3EENR4M7A%2F20190226%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20190226T125956Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=ec8420c453fb6b2fcdc915db63711547c74ba02e5821b298895bca9b76730b09" }, "country": "US", "member_sso_id": "34ce0901716709580fa5" } ] }
  6. Site URL: https://www.maestros-online.com Hi all, Very new to web design so apologies if this is a basic question. I'm looking to have my site display currencies in plain text on the home page. For now, I just want to be able to fetch the visitor IP and produce a symbol based on the location. IP Stack has a free API that I can use, and looking through the documentation, I assume I need to inject this code into the header script to log in and fetch the Symbol variable: <script> // set endpoint and your access key var ip = '134.201.250.155' var access_key = 'APIKEY'; // get the API result via jQuery.ajax $.ajax({ url: 'http://api.ipstack.com/' + ip + '?access_key=' + access_key, dataType: 'jsonp', success: function(json) { // output the "symbol" object inside "currency" alert(json.currency.symbol); } }); </script> So I have an alert - json.currency.symbol, but how would I then print this in the text? I assume I need to create a source code block, and then do something like: <script> var output = document.getelementbyID('output'); output.innerHTML= json.currency.symbol; </script> Am I anyway near on this? Thanks for the help
  7. Site URL: https://1lifeproducts.com Hello,Hoping someone can help... I have completed the squares API Form using Nodejs on my local server and Im accessing squarespace servers locally -- whats the best way to integrate/insert my square form which is running on localhost:3000 into my sqarespace development template running on localhost:9000 so square payment processing is up and running properly on my clients squarespace ecommerce site.... Thanx so much in advance Mike
  8. Hello, Could you please let me know any Rest API for upload/Share image in Square space website ?
  9. I want to integrate a print on demand API with Squarespace. I have the API documentation and API codes from the print company but no idea how to integrate this with my store. I'm not a developer. Can anyone help me with how to do this?
  10. I am trying to setup integration with an affiliate program. I'm sending an XHR to the affiliate on order confirmation (using the code-injection tool), but I can't figure out what the SquareSpace variable is to get the discount code. I need to include this in the JSON I'm sending. Does anyone know what that variable is called? What I have already is below. I've tested it with hardcoded data to confirm that it does work correctly, but I need to know what that "coupon" variable is on the SquareSpace side. <script type="text/javascript"> let request = new XMLHttpRequest; request.open("POST", "AFFILIATE_LINK"); request.setRequestHeader('Api-Key', 'APIKEY'); request.setRequestHeader('Content-Type', 'application/json'); request.send(JSON.stringify({ "coupon": promoCodeThatINeedFromSquareSpace, "amount": {orderSubtotal}, "customer_id": {customerEmailAddress}, "external_id": {orderID} })); </script> Thanks in advance for any help!
  11. I would like to upload data from a script that performs genetic analyis on a small supercomputer in real time, in the forms of text, graphs and images. I am new to webside coding so have been reading up and have thought about the use of an API however non of the ones ss offer seem to fit. To simplify the issue I was wondering if somone could show me how to do the following as an example; On my computer I have a script weather.london.sh which updates the file temp.txt with the temperature in london every 10 minutes How would i go about making a block for my site which displays "The temperature in london is x degrees C" I apologise for the lack of specificity.
  12. I would like to look up the order IDs associated with a customer account, searching on customer information. Ideally, I would search customer name or phone number, and find all orders associated with that customer. It doesn't look like the APIs support this. The only workaround that I see is Retrieving All Orders and then parsing through them to match Name/Phone within billingAddress or shippingAddress. This could be incredibly lengthy, given the amount of order volume. We won't necessarily know the modifiedBefore/After information to time-box and reduce the number of returned orders. Any help would be greatly appreciated!
  13. Site URL: https://bumblebee-koala-rze5.squarespace.com/ I have an another internal site. If I add any data on the site then I should be able to add the blog on squarespace site as well. For this, When a data/blog is added on my site, I'll call a REST API of squarespace site to add the blog. Is there any way we can do that? Are any such APIs available to add blogs? Hoping for quick response. Thanks.
  14. Site URL: https://bostonbiketaxi.com/ Hi there, Would it possible to connect to the SeatGeek API to display local event data on my site? The SquareSpace API docs all seem directed towards commerce-related goals. I have some mobile app dev experience, so I am familiar with how to connect to the SeatGeek API in that context. I just don't know if code within a squarespace site would allow me to do this. Thanks very much for any help!
  15. Hi - I have a squarespace page with a live stream embedded that is password protected on the squarespace page. I would like to change the Squarespace password on this page automatically by sending a JSON Post to Squarespace. Does Squarespace allow for page configuration to be updated via API?
  16. Site URL: http://www.cairnleadership.com Hi there, What is the best way to set up a process so that when a customer purchases one of our Crux Adventure products (we are a service where we take leaders on an overnight adventure), all the info they entered to buy the product will upload into a Google Sheet? Thank you for your help in advance!
  17. When I use the nextpageurl value. It still works, but I see that it says https://api.squarespace.com/0.1/commerce/orders?cursor= instead of the regular /1.0/ of the regular URL and of the example NextPageUrl above. I thought at first it was causing an error, but that was something else and it does appear to work just fine. Is this anything to be concerned about? I tried manually creating the URL using the 1.0 URL and the cursor and it also works, but just wondering if there is any difference?TIA
  18. Hi, I wan to send user's details into teachable once they purchase any product form square space using zapier, can you please assist me how i can achieve this? There is any other way using square space APIs?
  19. My team and I are looking for an integration feature that will automatically send our customers' orders to an external vendor's API to be fulfilled (with a digital service). How can I get started doing this?
  20. I'm working on an app for a client that has a Squarespace commerce site. They want to integrate their shop in the app. I can use Shopify's Inventory API to list their products in the app, but I can't figure out how to add products to a cart and send the user to checkout. Is there an API for the checkout or a way to achieve what I want?
  21. I'm using API to create orderns and sending the checkout by email to custumer, but the documentation is not clear, because i can receive a finalized order, but how i can send a checkout order? with API?
  22. Site URL: https://harmonica-guava-gra7.squarespace.com/config/pages/5e1e6da593fea070e53f4edb Our website is fulfilling orders for another website. How do I create an API back end link to do this? Thanks!
  23. Without paying for a service that does this, how can we add our Google reviews API to our Squarespace website? Without adding a screenshot of the reviews or using the Squarespace quotes. Does anybody know the code for this or how we can generate it? Thank you!
  24. Hi! I've been working through the developer guides for 3 hours thus far. I have a client that would like to publish a few hundred new pages on a routine basis (and obviously would prefer not to manually create them). One overarching question that I have is - is there a REST API that I can programmatically push new content to for the Squarespace CMS? The developer docs seem focused purely on the look and feel of the site via templates. Possible leads I've come across: Overloading the products integration seems a little rough and limiting (predefined csv fields) Importing blogs looks to be limiting in size Using the /pages for static site HTML pages (but would not benefit from the CMS and presumably SEO) Autogenerating a wordpress/blogger/tumblr site to then have it imported would probably be terrible No is an OK response. Thanks!
  25. I know there is quite a bit of material on using sqaure space's API and the extensions platform is pretty new, but is there any API documentation on building an extension for squarespace? i would love to build one if at all possible.
×
×
  • Create New...